apt-get doesn't work properly on ssh-ed pc

Bug #272306 reported by Miloš Mandarić
4
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I ssh-ed to my server and tried to install one package. After "sudo apt-get install package" it asks "Do you want to continue?[Y/n]"
After answering "n" apt starts to download and install package.

Revision history for this message
mmomjian (matthew-momjian) wrote :

I really don't think this is a bug in openssh... more likely in whatever ssh program you are using. However, could you post the output of apt-cache policy ssh and also tell us what ssh program you are using to connect. I can also NOT confirm this with ssh version 1:5.1p1-1ubuntu2 connecting through xterm.

Changed in openssh:
status: New → Incomplete
Revision history for this message
mmomjian (matthew-momjian) wrote :

could you also post the exact output you get when trying to install something, aborting it, and it continuing it? Also, what version of ubuntu are you running?

Revision history for this message
Miloš Mandarić (mandzo18) wrote :
Download full text (7.8 KiB)

I am using the same version 1:5.1p1-1ubuntu2 on Intrepid on my laptop. My server is also on Intrepid and it is on Bosnian language. I am connecting with gnome-terminal:
ssh milos@andja

milos@laptop:~$ apt-cache policy ssh
ssh:
  Installed: (none)
  Candidate: 1:5.1p1-1ubuntu2
  Version table:
     1:5.1p1-1ubuntu2 0
        500 http://ba.archive.ubuntu.com intrepid/main Packages

milos@laptop:~$ apt-cache policy openssh-client
openssh-client:
  Installed: 1:5.1p1-1ubuntu2
  Candidate: 1:5.1p1-1ubuntu2
  Version table:
 *** 1:5.1p1-1ubuntu2 0
        500 http://ba.archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status

I don't use password for connecting with ssh. I have copied my public key to remote pc. Don't know if this have anything with this behaviour.

 Here is example when installing:

milos@andja:~$ sudo apt-get install anjuta
[sudo] password for milos:
Čitam spiskove paketa... Done
Gradim stablo zavisnosti
Reading state information... Done
The following packages were automatically installed and are no longer required:
  smartpm-core
Use 'apt-get autoremove' to remove them.
Slijedeći dodatni paketi će biti instalirani:
  anjuta-common autogen cvs devhelp devhelp-common exuberant-ctags indent
  libapr1 libaprutil1 libatk1.0-doc libdevhelp-1-0 libgbf-1-1 libgbf-1-common
  libgdl-1-0 libgdl-1-common libgdl-gnome-1-0 libgladeui-1-7 libglib2.0-doc
  libgtk2.0-doc libmysqlclient15off libneon27-gnutls libopts25 libopts25-dev
  libpango1.0-doc libpq5 libsvn1 mysql-common
Predloženi paketi:
  libgtk2.0-dev libgtkmm2.0-dev libgnome2-dev libgnomemm2.0-dev devhelp-books
  glade-3 glade-gnome-3
Preporučeni paketi:
  ctags
Slijedeći NOVI paketi će biti instalirani:
  anjuta anjuta-common autogen cvs devhelp devhelp-common exuberant-ctags
  indent libapr1 libaprutil1 libatk1.0-doc libdevhelp-1-0 libgbf-1-1
  libgbf-1-common libgdl-1-0 libgdl-1-common libgdl-gnome-1-0 libgladeui-1-7
  libglib2.0-doc libgtk2.0-doc libmysqlclient15off libneon27-gnutls libopts25
  libopts25-dev libpango1.0-doc libpq5 libsvn1 mysql-common
0 upgraded, 28 newly installed, 0 to remove and 14 not upgraded.
Need to get 0B/18,1MB of archives.
After this operation, 85,5MB of additional disk space will be used.
Do you want to continue [Y/n]? n
Prekonfigurišem pakete ...
Selecting previously deselected package libapr1.
(Reading database ... 124154 files and directories currently installed.)
Unpacking libapr1 (from .../libapr1_1.2.12-4_i386.deb) ...
Selecting previously deselected package mysql-common.
Unpacking mysql-common (from .../mysql-common_5.0.67-0ubuntu5_all.deb) ...
Selecting previously deselected package libmysqlclient15off.
Unpacking libmysqlclient15off (from .../libmysqlclient15off_5.0.67-0ubuntu5_i386.deb) ...
Selecting previously deselected package libpq5.
Unpacking libpq5 (from .../libpq5_8.3.3-1ubuntu1_i386.deb) ...
Selecting previously deselected package libaprutil1.
Unpacking libaprutil1 (from .../libaprutil1_1.2.12+dfsg-7_i386.deb) ...
Selecting previously deselected package devhelp-common.
Unpacking devhelp-common (from .../devhelp-common_0.19.1-3ubuntu2_all.deb) ...
Selecting previously deselected package libdevhelp-1-0.
Unpacki...

Read more...

Revision history for this message
Miloš Mandarić (mandzo18) wrote :

After changing language from Bosnian to English bug disappears.

milos@andja:~$ sudo apt-get remove anjuta anjuta-common
[sudo] password for milos:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libgladeui-1-7 smartpm-core libatk1.0-doc libdevhelp-1-0 libglib2.0-doc
  libgbf-1-1 libpango1.0-doc libopts25 libopts25-dev autogen libapr1
  libgdl-gnome-1-0 mysql-common exuberant-ctags libmysqlclient15off libsvn1
  devhelp-common cvs libgtk2.0-doc libgbf-1-common libpq5 indent libaprutil1
  devhelp libgdl-1-0 libneon27-gnutls libgdl-1-common
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  anjuta anjuta-common
0 upgraded, 0 newly installed, 2 to remove and 14 not upgraded.
After this operation, 24.6MB disk space will be freed.
Do you want to continue [Y/n]? n
Abort.
milos@andja:~$

Revision history for this message
Miloš Mandarić (mandzo18) wrote :

It's probably bug in apt's Bosnian translation.

Changed in apt:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.