Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I tried to install new software when I was connected to my Debian over SSH, for example sudo apt-get install subversion, and after calculating dependencies, required space, etc. APT asked, if I want to continue. When I answered Y (accept), terminal showed alert: Aborted. Why?

I want to install new software over ssh, I'm trying to install software from Putty (Windows).

I tried:

  • log as root
  • pass -t from putty

Nothing happened.

share|improve this question
That's weird, I can confirm I have used apt-get remotely various times (though never through putty). Could you post the relevant section of your /var/log/apt/term.log please? – terdon Jun 5 '13 at 23:43
The actual error message you are getting could help too. – demure Jun 6 '13 at 1:29
Instead of typing Y, try just press Enter. Accepting the changes should be the default, and this might fix some issue with erroneous input. – Darth Android Jun 6 '13 at 3:37
Oh, it's was something about configuring my Putty - I had to change encoding to UTF-8, till now I connected with ISO-8859, and I think server thought I was typing No all times... But now it's something weird - I accept installation, see 0% working..., and Debian ask me toput installation DVD to the drive, instead of downloading packets. Why? – michail_w Jun 6 '13 at 6:08
@michail_w, because you've supposedly installed it from DVD media and so the only "package sources" which are available are those DVDs. You should edit your /etc/apt/sources.list and add there something like deb wheezy/updates main followed by deb wheezy main, comment out the lines mentioning cdrom, then do apt-get update and the next apt-get install ... will reach for the nearest mirror holding the Debian archive. – kostix Jun 6 '13 at 9:27

If you have a problem like this,

  1. make sure your putty connection encoding is proper (in my case UTF-8)
  2. edit /etc/apt/sources.list to comment/move cdrom repository
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .