Why does apt-get abort by itself, as though I'd pressed 'N'?
On Ubuntu 14.04, when I try to install an app or even just do:
sudo apt-get upgrade
I always end up with this message at the end:
Do you want to continue? [Y/n] Abort.
I didn't type anything, it just automatically aborts.
Can you guys help me?
=======[ Edit #1 Aug 12 ]=======
Here I have copied the entire terminal texts.
I have run 2 command here, the:
sudo apt-get update and then after I get the result I run the
sudo apt-get upgrade
Here's the copied texts from terminal:
franzbiely@Franz-Gizmo:~$ sudo apt-get update
Ign http://archive.ubuntu.com trusty InRelease
Ign http://ppa.launchpad.net trusty InRelease
Ign http://archive.canonical.com trusty InRelease
Ign http://extras.ubuntu.com trusty InRelease
Ign http://archive.ubuntu.com trusty-updates InRelease
Ign http://ppa.launchpad.net trusty InRelease
Hit http://archive.canonical.com trusty Release.gpg
Hit http://extras.ubuntu.com trusty Release.gpg
Ign http://archive.ubuntu.com trusty-backports InRelease
Ign http://ppa.launchpad.net trusty InRelease
Hit http://archive.canonical.com trusty Release
Hit http://extras.ubuntu.com trusty Release
Hit http://archive.canonical.com trusty/partner Sources
Hit http://extras.ubuntu.com trusty/main Sources
Hit http://ppa.launchpad.net trusty Release.gpg
Ign http://dl.google.com stable InRelease
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://archive.canonical.com trusty/partner amd64 Packages
Hit http://dl.google.com stable Release.gpg
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://archive.canonical.com trusty/partner i386 Packages
Hit http://extras.ubuntu.com trusty/main amd64 Packages
Ign http://archive.ubuntu.com trusty-security InRelease
Hit http://dl.google.com stable Release
Hit http://ppa.launchpad.net trusty Release
Hit http://extras.ubuntu.com trusty/main i386 Packages
Hit http://dl.google.com stable/main amd64 Packages
Hit http://archive.ubuntu.com trusty Release.gpg
Hit http://ppa.launchpad.net trusty Release
Hit http://dl.google.com stable/main i386 Packages
Get:1 http://archive.ubuntu.com trusty-updates Release.gpg [933 B]
Hit http://ppa.launchpad.net trusty Release
Hit http://archive.ubuntu.com trusty-backports Release.gpg
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Get:2 http://archive.ubuntu.com trusty-security Release.gpg [933 B]
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://archive.ubuntu.com trusty Release
Get:3 http://archive.ubuntu.com trusty-updates Release [59.7 kB]
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Ign http://archive.canonical.com trusty/partner Translation-en_PH
Hit http://ppa.launchpad.net trusty/main i386 Packages
Ign http://archive.canonical.com trusty/partner Translation-en
Ign http://extras.ubuntu.com trusty/main Translation-en_PH
Ign http://extras.ubuntu.com trusty/main Translation-en
Ign http://dl.google.com stable/main Translation-en_PH
Ign http://dl.google.com stable/main Translation-en
Hit http://archive.ubuntu.com trusty-backports Release
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Get:4 http://archive.ubuntu.com trusty-security Release [59.7 kB]
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://archive.ubuntu.com trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Hit http://archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://archive.ubuntu.com trusty/main i386 Packages
Hit http://archive.ubuntu.com trusty/restricted i386 Packages
Hit http://archive.ubuntu.com trusty/universe i386 Packages
Hit http://archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://archive.ubuntu.com trusty/main Translation-en
Hit http://archive.ubuntu.com trusty/multiverse Translation-en
Hit http://archive.ubuntu.com trusty/restricted Translation-en
Hit http://archive.ubuntu.com trusty/universe Translation-en
Get:5 http://archive.ubuntu.com trusty-updates/main amd64 Packages [290 kB]
Ign http://ppa.launchpad.net trusty/main Translation-en_PH
Ign http://ppa.launchpad.net trusty/main Translation-en
Ign http://ppa.launchpad.net trusty/main Translation-en_PH
Ign http://ppa.launchpad.net trusty/main Translation-en
Ign http://ppa.launchpad.net trusty/main Translation-en_PH
Ign http://ppa.launchpad.net trusty/main Translation-en
Get:6 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [5,820 B]
Get:7 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [177 kB]
Get:8 http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages [7,381 B]
Get:9 http://archive.ubuntu.com trusty-updates/main i386 Packages [286 kB]
Get:10 http://archive.ubuntu.com trusty-updates/restricted i386 Packages [5,820 B]
Get:11 http://archive.ubuntu.com trusty-updates/universe i386 Packages [178 kB]
Get:12 http://archive.ubuntu.com trusty-updates/multiverse i386 Packages [7,598 B]
Hit http://archive.ubuntu.com trusty-updates/main Translation-en
Hit http://archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-updates/restricted Translation-en
Get:13 http://archive.ubuntu.com trusty-updates/universe Translation-en [87.0 kB]
Hit http://archive.ubuntu.com trusty-backports/main amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/main i386 Packages
Hit http://archive.ubuntu.com trusty-backports/restricted i386 Packages
Hit http://archive.ubuntu.com trusty-backports/universe i386 Packages
Hit http://archive.ubuntu.com trusty-backports/multiverse i386 Packages
Hit http://archive.ubuntu.com trusty-backports/main Translation-en
Hit http://archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://archive.ubuntu.com trusty-backports/universe Translation-en
Get:14 http://archive.ubuntu.com trusty-security/main amd64 Packages [125 kB]
Get:15 http://archive.ubuntu.com trusty-security/restricted amd64 Packages [14 B]
Get:16 http://archive.ubuntu.com trusty-security/universe amd64 Packages [43.4 kB]
Get:17 http://archive.ubuntu.com trusty-security/multiverse amd64 Packages [1,147 B]
Get:18 http://archive.ubuntu.com trusty-security/main i386 Packages [122 kB]
Get:19 http://archive.ubuntu.com trusty-security/restricted i386 Packages [14 B]
Get:20 http://archive.ubuntu.com trusty-security/universe i386 Packages [43.3 kB]
Get:21 http://archive.ubuntu.com trusty-security/multiverse i386 Packages [1,402 B]
Hit http://archive.ubuntu.com trusty-security/main Translation-en
Hit http://archive.ubuntu.com trusty-security/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-security/restricted Translation-en
Hit http://archive.ubuntu.com trusty-security/universe Translation-en
Ign http://archive.ubuntu.com trusty/main Translation-en_PH
Ign http://archive.ubuntu.com trusty/multiverse Translation-en_PH
Ign http://archive.ubuntu.com trusty/restricted Translation-en_PH
Ign http://archive.ubuntu.com trusty/universe Translation-en_PH
Fetched 1,502 kB in 3min 15s (7,672 B/s)
Reading package lists... Done
franzbiely@Franz-Gizmo:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
gnome-settings-daemon-schemas linux-headers-generic linux-signed-generic
linux-signed-image-generic unity-settings-daemon
The following packages will be upgraded:
linux-libc-dev
1 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Need to get 784 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Abort.
franzbiely@Franz-Gizmo:~$
=======[/ end edit ]=============
command-line apt error-handling
|
show 5 more comments
On Ubuntu 14.04, when I try to install an app or even just do:
sudo apt-get upgrade
I always end up with this message at the end:
Do you want to continue? [Y/n] Abort.
I didn't type anything, it just automatically aborts.
Can you guys help me?
=======[ Edit #1 Aug 12 ]=======
Here I have copied the entire terminal texts.
I have run 2 command here, the:
sudo apt-get update and then after I get the result I run the
sudo apt-get upgrade
Here's the copied texts from terminal:
franzbiely@Franz-Gizmo:~$ sudo apt-get update
Ign http://archive.ubuntu.com trusty InRelease
Ign http://ppa.launchpad.net trusty InRelease
Ign http://archive.canonical.com trusty InRelease
Ign http://extras.ubuntu.com trusty InRelease
Ign http://archive.ubuntu.com trusty-updates InRelease
Ign http://ppa.launchpad.net trusty InRelease
Hit http://archive.canonical.com trusty Release.gpg
Hit http://extras.ubuntu.com trusty Release.gpg
Ign http://archive.ubuntu.com trusty-backports InRelease
Ign http://ppa.launchpad.net trusty InRelease
Hit http://archive.canonical.com trusty Release
Hit http://extras.ubuntu.com trusty Release
Hit http://archive.canonical.com trusty/partner Sources
Hit http://extras.ubuntu.com trusty/main Sources
Hit http://ppa.launchpad.net trusty Release.gpg
Ign http://dl.google.com stable InRelease
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://archive.canonical.com trusty/partner amd64 Packages
Hit http://dl.google.com stable Release.gpg
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://archive.canonical.com trusty/partner i386 Packages
Hit http://extras.ubuntu.com trusty/main amd64 Packages
Ign http://archive.ubuntu.com trusty-security InRelease
Hit http://dl.google.com stable Release
Hit http://ppa.launchpad.net trusty Release
Hit http://extras.ubuntu.com trusty/main i386 Packages
Hit http://dl.google.com stable/main amd64 Packages
Hit http://archive.ubuntu.com trusty Release.gpg
Hit http://ppa.launchpad.net trusty Release
Hit http://dl.google.com stable/main i386 Packages
Get:1 http://archive.ubuntu.com trusty-updates Release.gpg [933 B]
Hit http://ppa.launchpad.net trusty Release
Hit http://archive.ubuntu.com trusty-backports Release.gpg
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Get:2 http://archive.ubuntu.com trusty-security Release.gpg [933 B]
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://archive.ubuntu.com trusty Release
Get:3 http://archive.ubuntu.com trusty-updates Release [59.7 kB]
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Ign http://archive.canonical.com trusty/partner Translation-en_PH
Hit http://ppa.launchpad.net trusty/main i386 Packages
Ign http://archive.canonical.com trusty/partner Translation-en
Ign http://extras.ubuntu.com trusty/main Translation-en_PH
Ign http://extras.ubuntu.com trusty/main Translation-en
Ign http://dl.google.com stable/main Translation-en_PH
Ign http://dl.google.com stable/main Translation-en
Hit http://archive.ubuntu.com trusty-backports Release
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Get:4 http://archive.ubuntu.com trusty-security Release [59.7 kB]
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://archive.ubuntu.com trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Hit http://archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://archive.ubuntu.com trusty/main i386 Packages
Hit http://archive.ubuntu.com trusty/restricted i386 Packages
Hit http://archive.ubuntu.com trusty/universe i386 Packages
Hit http://archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://archive.ubuntu.com trusty/main Translation-en
Hit http://archive.ubuntu.com trusty/multiverse Translation-en
Hit http://archive.ubuntu.com trusty/restricted Translation-en
Hit http://archive.ubuntu.com trusty/universe Translation-en
Get:5 http://archive.ubuntu.com trusty-updates/main amd64 Packages [290 kB]
Ign http://ppa.launchpad.net trusty/main Translation-en_PH
Ign http://ppa.launchpad.net trusty/main Translation-en
Ign http://ppa.launchpad.net trusty/main Translation-en_PH
Ign http://ppa.launchpad.net trusty/main Translation-en
Ign http://ppa.launchpad.net trusty/main Translation-en_PH
Ign http://ppa.launchpad.net trusty/main Translation-en
Get:6 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [5,820 B]
Get:7 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [177 kB]
Get:8 http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages [7,381 B]
Get:9 http://archive.ubuntu.com trusty-updates/main i386 Packages [286 kB]
Get:10 http://archive.ubuntu.com trusty-updates/restricted i386 Packages [5,820 B]
Get:11 http://archive.ubuntu.com trusty-updates/universe i386 Packages [178 kB]
Get:12 http://archive.ubuntu.com trusty-updates/multiverse i386 Packages [7,598 B]
Hit http://archive.ubuntu.com trusty-updates/main Translation-en
Hit http://archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-updates/restricted Translation-en
Get:13 http://archive.ubuntu.com trusty-updates/universe Translation-en [87.0 kB]
Hit http://archive.ubuntu.com trusty-backports/main amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/main i386 Packages
Hit http://archive.ubuntu.com trusty-backports/restricted i386 Packages
Hit http://archive.ubuntu.com trusty-backports/universe i386 Packages
Hit http://archive.ubuntu.com trusty-backports/multiverse i386 Packages
Hit http://archive.ubuntu.com trusty-backports/main Translation-en
Hit http://archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://archive.ubuntu.com trusty-backports/universe Translation-en
Get:14 http://archive.ubuntu.com trusty-security/main amd64 Packages [125 kB]
Get:15 http://archive.ubuntu.com trusty-security/restricted amd64 Packages [14 B]
Get:16 http://archive.ubuntu.com trusty-security/universe amd64 Packages [43.4 kB]
Get:17 http://archive.ubuntu.com trusty-security/multiverse amd64 Packages [1,147 B]
Get:18 http://archive.ubuntu.com trusty-security/main i386 Packages [122 kB]
Get:19 http://archive.ubuntu.com trusty-security/restricted i386 Packages [14 B]
Get:20 http://archive.ubuntu.com trusty-security/universe i386 Packages [43.3 kB]
Get:21 http://archive.ubuntu.com trusty-security/multiverse i386 Packages [1,402 B]
Hit http://archive.ubuntu.com trusty-security/main Translation-en
Hit http://archive.ubuntu.com trusty-security/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-security/restricted Translation-en
Hit http://archive.ubuntu.com trusty-security/universe Translation-en
Ign http://archive.ubuntu.com trusty/main Translation-en_PH
Ign http://archive.ubuntu.com trusty/multiverse Translation-en_PH
Ign http://archive.ubuntu.com trusty/restricted Translation-en_PH
Ign http://archive.ubuntu.com trusty/universe Translation-en_PH
Fetched 1,502 kB in 3min 15s (7,672 B/s)
Reading package lists... Done
franzbiely@Franz-Gizmo:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
gnome-settings-daemon-schemas linux-headers-generic linux-signed-generic
linux-signed-image-generic unity-settings-daemon
The following packages will be upgraded:
linux-libc-dev
1 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Need to get 784 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Abort.
franzbiely@Franz-Gizmo:~$
=======[/ end edit ]=============
command-line apt error-handling
What happens if you typey
?
– Tim
Aug 11 '14 at 16:29
@Eliah yeah, try actually giving it y when it asks [Y/n]. I normally suggest that they dosudo apt-get update | pastebinit
and give us the link, as it can be quite a long output...
– Tim
Aug 11 '14 at 16:38
After I type y, it just says command not found since i'm typing y in ~$
– Francis M Albores
Aug 12 '14 at 6:23
Yeah @tim, the issue is that I'm aborted already even though I haven't type anything so I'm in the ($ command line now).
– Francis M Albores
Aug 12 '14 at 6:24
@EliahKagan I'll try to copy everything and paste it here when I get back to my computer at home.
– Francis M Albores
Aug 12 '14 at 6:25
|
show 5 more comments
On Ubuntu 14.04, when I try to install an app or even just do:
sudo apt-get upgrade
I always end up with this message at the end:
Do you want to continue? [Y/n] Abort.
I didn't type anything, it just automatically aborts.
Can you guys help me?
=======[ Edit #1 Aug 12 ]=======
Here I have copied the entire terminal texts.
I have run 2 command here, the:
sudo apt-get update and then after I get the result I run the
sudo apt-get upgrade
Here's the copied texts from terminal:
franzbiely@Franz-Gizmo:~$ sudo apt-get update
Ign http://archive.ubuntu.com trusty InRelease
Ign http://ppa.launchpad.net trusty InRelease
Ign http://archive.canonical.com trusty InRelease
Ign http://extras.ubuntu.com trusty InRelease
Ign http://archive.ubuntu.com trusty-updates InRelease
Ign http://ppa.launchpad.net trusty InRelease
Hit http://archive.canonical.com trusty Release.gpg
Hit http://extras.ubuntu.com trusty Release.gpg
Ign http://archive.ubuntu.com trusty-backports InRelease
Ign http://ppa.launchpad.net trusty InRelease
Hit http://archive.canonical.com trusty Release
Hit http://extras.ubuntu.com trusty Release
Hit http://archive.canonical.com trusty/partner Sources
Hit http://extras.ubuntu.com trusty/main Sources
Hit http://ppa.launchpad.net trusty Release.gpg
Ign http://dl.google.com stable InRelease
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://archive.canonical.com trusty/partner amd64 Packages
Hit http://dl.google.com stable Release.gpg
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://archive.canonical.com trusty/partner i386 Packages
Hit http://extras.ubuntu.com trusty/main amd64 Packages
Ign http://archive.ubuntu.com trusty-security InRelease
Hit http://dl.google.com stable Release
Hit http://ppa.launchpad.net trusty Release
Hit http://extras.ubuntu.com trusty/main i386 Packages
Hit http://dl.google.com stable/main amd64 Packages
Hit http://archive.ubuntu.com trusty Release.gpg
Hit http://ppa.launchpad.net trusty Release
Hit http://dl.google.com stable/main i386 Packages
Get:1 http://archive.ubuntu.com trusty-updates Release.gpg [933 B]
Hit http://ppa.launchpad.net trusty Release
Hit http://archive.ubuntu.com trusty-backports Release.gpg
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Get:2 http://archive.ubuntu.com trusty-security Release.gpg [933 B]
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://archive.ubuntu.com trusty Release
Get:3 http://archive.ubuntu.com trusty-updates Release [59.7 kB]
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Ign http://archive.canonical.com trusty/partner Translation-en_PH
Hit http://ppa.launchpad.net trusty/main i386 Packages
Ign http://archive.canonical.com trusty/partner Translation-en
Ign http://extras.ubuntu.com trusty/main Translation-en_PH
Ign http://extras.ubuntu.com trusty/main Translation-en
Ign http://dl.google.com stable/main Translation-en_PH
Ign http://dl.google.com stable/main Translation-en
Hit http://archive.ubuntu.com trusty-backports Release
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Get:4 http://archive.ubuntu.com trusty-security Release [59.7 kB]
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://archive.ubuntu.com trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Hit http://archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://archive.ubuntu.com trusty/main i386 Packages
Hit http://archive.ubuntu.com trusty/restricted i386 Packages
Hit http://archive.ubuntu.com trusty/universe i386 Packages
Hit http://archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://archive.ubuntu.com trusty/main Translation-en
Hit http://archive.ubuntu.com trusty/multiverse Translation-en
Hit http://archive.ubuntu.com trusty/restricted Translation-en
Hit http://archive.ubuntu.com trusty/universe Translation-en
Get:5 http://archive.ubuntu.com trusty-updates/main amd64 Packages [290 kB]
Ign http://ppa.launchpad.net trusty/main Translation-en_PH
Ign http://ppa.launchpad.net trusty/main Translation-en
Ign http://ppa.launchpad.net trusty/main Translation-en_PH
Ign http://ppa.launchpad.net trusty/main Translation-en
Ign http://ppa.launchpad.net trusty/main Translation-en_PH
Ign http://ppa.launchpad.net trusty/main Translation-en
Get:6 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [5,820 B]
Get:7 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [177 kB]
Get:8 http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages [7,381 B]
Get:9 http://archive.ubuntu.com trusty-updates/main i386 Packages [286 kB]
Get:10 http://archive.ubuntu.com trusty-updates/restricted i386 Packages [5,820 B]
Get:11 http://archive.ubuntu.com trusty-updates/universe i386 Packages [178 kB]
Get:12 http://archive.ubuntu.com trusty-updates/multiverse i386 Packages [7,598 B]
Hit http://archive.ubuntu.com trusty-updates/main Translation-en
Hit http://archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-updates/restricted Translation-en
Get:13 http://archive.ubuntu.com trusty-updates/universe Translation-en [87.0 kB]
Hit http://archive.ubuntu.com trusty-backports/main amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/main i386 Packages
Hit http://archive.ubuntu.com trusty-backports/restricted i386 Packages
Hit http://archive.ubuntu.com trusty-backports/universe i386 Packages
Hit http://archive.ubuntu.com trusty-backports/multiverse i386 Packages
Hit http://archive.ubuntu.com trusty-backports/main Translation-en
Hit http://archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://archive.ubuntu.com trusty-backports/universe Translation-en
Get:14 http://archive.ubuntu.com trusty-security/main amd64 Packages [125 kB]
Get:15 http://archive.ubuntu.com trusty-security/restricted amd64 Packages [14 B]
Get:16 http://archive.ubuntu.com trusty-security/universe amd64 Packages [43.4 kB]
Get:17 http://archive.ubuntu.com trusty-security/multiverse amd64 Packages [1,147 B]
Get:18 http://archive.ubuntu.com trusty-security/main i386 Packages [122 kB]
Get:19 http://archive.ubuntu.com trusty-security/restricted i386 Packages [14 B]
Get:20 http://archive.ubuntu.com trusty-security/universe i386 Packages [43.3 kB]
Get:21 http://archive.ubuntu.com trusty-security/multiverse i386 Packages [1,402 B]
Hit http://archive.ubuntu.com trusty-security/main Translation-en
Hit http://archive.ubuntu.com trusty-security/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-security/restricted Translation-en
Hit http://archive.ubuntu.com trusty-security/universe Translation-en
Ign http://archive.ubuntu.com trusty/main Translation-en_PH
Ign http://archive.ubuntu.com trusty/multiverse Translation-en_PH
Ign http://archive.ubuntu.com trusty/restricted Translation-en_PH
Ign http://archive.ubuntu.com trusty/universe Translation-en_PH
Fetched 1,502 kB in 3min 15s (7,672 B/s)
Reading package lists... Done
franzbiely@Franz-Gizmo:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
gnome-settings-daemon-schemas linux-headers-generic linux-signed-generic
linux-signed-image-generic unity-settings-daemon
The following packages will be upgraded:
linux-libc-dev
1 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Need to get 784 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Abort.
franzbiely@Franz-Gizmo:~$
=======[/ end edit ]=============
command-line apt error-handling
On Ubuntu 14.04, when I try to install an app or even just do:
sudo apt-get upgrade
I always end up with this message at the end:
Do you want to continue? [Y/n] Abort.
I didn't type anything, it just automatically aborts.
Can you guys help me?
=======[ Edit #1 Aug 12 ]=======
Here I have copied the entire terminal texts.
I have run 2 command here, the:
sudo apt-get update and then after I get the result I run the
sudo apt-get upgrade
Here's the copied texts from terminal:
franzbiely@Franz-Gizmo:~$ sudo apt-get update
Ign http://archive.ubuntu.com trusty InRelease
Ign http://ppa.launchpad.net trusty InRelease
Ign http://archive.canonical.com trusty InRelease
Ign http://extras.ubuntu.com trusty InRelease
Ign http://archive.ubuntu.com trusty-updates InRelease
Ign http://ppa.launchpad.net trusty InRelease
Hit http://archive.canonical.com trusty Release.gpg
Hit http://extras.ubuntu.com trusty Release.gpg
Ign http://archive.ubuntu.com trusty-backports InRelease
Ign http://ppa.launchpad.net trusty InRelease
Hit http://archive.canonical.com trusty Release
Hit http://extras.ubuntu.com trusty Release
Hit http://archive.canonical.com trusty/partner Sources
Hit http://extras.ubuntu.com trusty/main Sources
Hit http://ppa.launchpad.net trusty Release.gpg
Ign http://dl.google.com stable InRelease
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://archive.canonical.com trusty/partner amd64 Packages
Hit http://dl.google.com stable Release.gpg
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://archive.canonical.com trusty/partner i386 Packages
Hit http://extras.ubuntu.com trusty/main amd64 Packages
Ign http://archive.ubuntu.com trusty-security InRelease
Hit http://dl.google.com stable Release
Hit http://ppa.launchpad.net trusty Release
Hit http://extras.ubuntu.com trusty/main i386 Packages
Hit http://dl.google.com stable/main amd64 Packages
Hit http://archive.ubuntu.com trusty Release.gpg
Hit http://ppa.launchpad.net trusty Release
Hit http://dl.google.com stable/main i386 Packages
Get:1 http://archive.ubuntu.com trusty-updates Release.gpg [933 B]
Hit http://ppa.launchpad.net trusty Release
Hit http://archive.ubuntu.com trusty-backports Release.gpg
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Get:2 http://archive.ubuntu.com trusty-security Release.gpg [933 B]
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://archive.ubuntu.com trusty Release
Get:3 http://archive.ubuntu.com trusty-updates Release [59.7 kB]
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Ign http://archive.canonical.com trusty/partner Translation-en_PH
Hit http://ppa.launchpad.net trusty/main i386 Packages
Ign http://archive.canonical.com trusty/partner Translation-en
Ign http://extras.ubuntu.com trusty/main Translation-en_PH
Ign http://extras.ubuntu.com trusty/main Translation-en
Ign http://dl.google.com stable/main Translation-en_PH
Ign http://dl.google.com stable/main Translation-en
Hit http://archive.ubuntu.com trusty-backports Release
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Get:4 http://archive.ubuntu.com trusty-security Release [59.7 kB]
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://archive.ubuntu.com trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Hit http://archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://archive.ubuntu.com trusty/main i386 Packages
Hit http://archive.ubuntu.com trusty/restricted i386 Packages
Hit http://archive.ubuntu.com trusty/universe i386 Packages
Hit http://archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://archive.ubuntu.com trusty/main Translation-en
Hit http://archive.ubuntu.com trusty/multiverse Translation-en
Hit http://archive.ubuntu.com trusty/restricted Translation-en
Hit http://archive.ubuntu.com trusty/universe Translation-en
Get:5 http://archive.ubuntu.com trusty-updates/main amd64 Packages [290 kB]
Ign http://ppa.launchpad.net trusty/main Translation-en_PH
Ign http://ppa.launchpad.net trusty/main Translation-en
Ign http://ppa.launchpad.net trusty/main Translation-en_PH
Ign http://ppa.launchpad.net trusty/main Translation-en
Ign http://ppa.launchpad.net trusty/main Translation-en_PH
Ign http://ppa.launchpad.net trusty/main Translation-en
Get:6 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [5,820 B]
Get:7 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [177 kB]
Get:8 http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages [7,381 B]
Get:9 http://archive.ubuntu.com trusty-updates/main i386 Packages [286 kB]
Get:10 http://archive.ubuntu.com trusty-updates/restricted i386 Packages [5,820 B]
Get:11 http://archive.ubuntu.com trusty-updates/universe i386 Packages [178 kB]
Get:12 http://archive.ubuntu.com trusty-updates/multiverse i386 Packages [7,598 B]
Hit http://archive.ubuntu.com trusty-updates/main Translation-en
Hit http://archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-updates/restricted Translation-en
Get:13 http://archive.ubuntu.com trusty-updates/universe Translation-en [87.0 kB]
Hit http://archive.ubuntu.com trusty-backports/main amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/main i386 Packages
Hit http://archive.ubuntu.com trusty-backports/restricted i386 Packages
Hit http://archive.ubuntu.com trusty-backports/universe i386 Packages
Hit http://archive.ubuntu.com trusty-backports/multiverse i386 Packages
Hit http://archive.ubuntu.com trusty-backports/main Translation-en
Hit http://archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://archive.ubuntu.com trusty-backports/universe Translation-en
Get:14 http://archive.ubuntu.com trusty-security/main amd64 Packages [125 kB]
Get:15 http://archive.ubuntu.com trusty-security/restricted amd64 Packages [14 B]
Get:16 http://archive.ubuntu.com trusty-security/universe amd64 Packages [43.4 kB]
Get:17 http://archive.ubuntu.com trusty-security/multiverse amd64 Packages [1,147 B]
Get:18 http://archive.ubuntu.com trusty-security/main i386 Packages [122 kB]
Get:19 http://archive.ubuntu.com trusty-security/restricted i386 Packages [14 B]
Get:20 http://archive.ubuntu.com trusty-security/universe i386 Packages [43.3 kB]
Get:21 http://archive.ubuntu.com trusty-security/multiverse i386 Packages [1,402 B]
Hit http://archive.ubuntu.com trusty-security/main Translation-en
Hit http://archive.ubuntu.com trusty-security/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-security/restricted Translation-en
Hit http://archive.ubuntu.com trusty-security/universe Translation-en
Ign http://archive.ubuntu.com trusty/main Translation-en_PH
Ign http://archive.ubuntu.com trusty/multiverse Translation-en_PH
Ign http://archive.ubuntu.com trusty/restricted Translation-en_PH
Ign http://archive.ubuntu.com trusty/universe Translation-en_PH
Fetched 1,502 kB in 3min 15s (7,672 B/s)
Reading package lists... Done
franzbiely@Franz-Gizmo:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
gnome-settings-daemon-schemas linux-headers-generic linux-signed-generic
linux-signed-image-generic unity-settings-daemon
The following packages will be upgraded:
linux-libc-dev
1 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Need to get 784 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Abort.
franzbiely@Franz-Gizmo:~$
=======[/ end edit ]=============
command-line apt error-handling
command-line apt error-handling
edited Aug 12 '14 at 13:03
Francis M Albores
asked Aug 11 '14 at 16:15
Francis M AlboresFrancis M Albores
86114
86114
What happens if you typey
?
– Tim
Aug 11 '14 at 16:29
@Eliah yeah, try actually giving it y when it asks [Y/n]. I normally suggest that they dosudo apt-get update | pastebinit
and give us the link, as it can be quite a long output...
– Tim
Aug 11 '14 at 16:38
After I type y, it just says command not found since i'm typing y in ~$
– Francis M Albores
Aug 12 '14 at 6:23
Yeah @tim, the issue is that I'm aborted already even though I haven't type anything so I'm in the ($ command line now).
– Francis M Albores
Aug 12 '14 at 6:24
@EliahKagan I'll try to copy everything and paste it here when I get back to my computer at home.
– Francis M Albores
Aug 12 '14 at 6:25
|
show 5 more comments
What happens if you typey
?
– Tim
Aug 11 '14 at 16:29
@Eliah yeah, try actually giving it y when it asks [Y/n]. I normally suggest that they dosudo apt-get update | pastebinit
and give us the link, as it can be quite a long output...
– Tim
Aug 11 '14 at 16:38
After I type y, it just says command not found since i'm typing y in ~$
– Francis M Albores
Aug 12 '14 at 6:23
Yeah @tim, the issue is that I'm aborted already even though I haven't type anything so I'm in the ($ command line now).
– Francis M Albores
Aug 12 '14 at 6:24
@EliahKagan I'll try to copy everything and paste it here when I get back to my computer at home.
– Francis M Albores
Aug 12 '14 at 6:25
What happens if you type
y
?– Tim
Aug 11 '14 at 16:29
What happens if you type
y
?– Tim
Aug 11 '14 at 16:29
@Eliah yeah, try actually giving it y when it asks [Y/n]. I normally suggest that they do
sudo apt-get update | pastebinit
and give us the link, as it can be quite a long output...– Tim
Aug 11 '14 at 16:38
@Eliah yeah, try actually giving it y when it asks [Y/n]. I normally suggest that they do
sudo apt-get update | pastebinit
and give us the link, as it can be quite a long output...– Tim
Aug 11 '14 at 16:38
After I type y, it just says command not found since i'm typing y in ~$
– Francis M Albores
Aug 12 '14 at 6:23
After I type y, it just says command not found since i'm typing y in ~$
– Francis M Albores
Aug 12 '14 at 6:23
Yeah @tim, the issue is that I'm aborted already even though I haven't type anything so I'm in the ($ command line now).
– Francis M Albores
Aug 12 '14 at 6:24
Yeah @tim, the issue is that I'm aborted already even though I haven't type anything so I'm in the ($ command line now).
– Francis M Albores
Aug 12 '14 at 6:24
@EliahKagan I'll try to copy everything and paste it here when I get back to my computer at home.
– Francis M Albores
Aug 12 '14 at 6:25
@EliahKagan I'll try to copy everything and paste it here when I get back to my computer at home.
– Francis M Albores
Aug 12 '14 at 6:25
|
show 5 more comments
3 Answers
3
active
oldest
votes
apt-get aborts when it wants interactive confirmation but can't read input from stdin.
For example, anyone (with pending upgrades) can reproduce this behavior by redirecting /dev/null to stdin:
skath@tahiti:~$ sudo apt-get upgrade < /dev/null
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
libcgmanager0
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 29.3 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Abort.
skath@tahiti:~$
This leads to the next question, what's taking over stdin when you're calling sudo apt-get upgrade
? That's a trickier question and might involve your sudo configuration or the terminal or shell you're using to invoke the command...
Or, if you just need a workaround, you can pass -y
to apt-get
to skip the prompt: sudo apt-get -y upgrade
Same issue, I'd rather know what is eating the input. This happens in Yakuake. Other terminals such as KDE's Konsole or mlterm functions as usual.
– Hamid
Nov 16 '17 at 22:23
1
I ran into this too (on Debian, I know, this is Ask Ubuntu, but maybe it will still be helpful...) and have no idea why it happened, but I opened a new tab in my terminal emulator application, and the problem went away.
– Jackson
Nov 28 '17 at 0:59
It's like a sin, one of those big ones. It disappeared after a purported update.
– Hamid
Nov 29 '17 at 3:38
add a comment |
my problem was that I tried to run several commands at once by copy-pasting them into console
apt-get update
apt-get upgrade
apt-get dist-upgrade
apt-get install build-essential
...
Calling each command separately solved my problem
1
There can also be a 'hidden' carriage return between two package names. When I removed this eveything installed with a one line command e.g.sudo apt-get install libssl-dev libdb-dev libdb++-dev
– undersound
Jun 18 '18 at 19:34
add a comment |
I just had this problem on 18.04.2. update
, update
, and dist-upgrade
worked fine; install
, failed with an abort. Yes, using -y
worked.
However, I found that there was a problem in my /etc/apt/sources.list
file, and that by restoring it to the default that came with the distribution (you can find your version online easily enough), that completely solved the problem.
I suspect that one of the alternate third party library scripts that was adding its own repository made a mistake.
I'd recommend making a backup copy, try replacing the file, ensuring the ownership and permissions are the same as the original, and then doing a sudo apt update
, then try your install.
I haven't had any problems since.
add a comment |
protected by Community♦ Jun 22 '18 at 19:48
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
apt-get aborts when it wants interactive confirmation but can't read input from stdin.
For example, anyone (with pending upgrades) can reproduce this behavior by redirecting /dev/null to stdin:
skath@tahiti:~$ sudo apt-get upgrade < /dev/null
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
libcgmanager0
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 29.3 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Abort.
skath@tahiti:~$
This leads to the next question, what's taking over stdin when you're calling sudo apt-get upgrade
? That's a trickier question and might involve your sudo configuration or the terminal or shell you're using to invoke the command...
Or, if you just need a workaround, you can pass -y
to apt-get
to skip the prompt: sudo apt-get -y upgrade
Same issue, I'd rather know what is eating the input. This happens in Yakuake. Other terminals such as KDE's Konsole or mlterm functions as usual.
– Hamid
Nov 16 '17 at 22:23
1
I ran into this too (on Debian, I know, this is Ask Ubuntu, but maybe it will still be helpful...) and have no idea why it happened, but I opened a new tab in my terminal emulator application, and the problem went away.
– Jackson
Nov 28 '17 at 0:59
It's like a sin, one of those big ones. It disappeared after a purported update.
– Hamid
Nov 29 '17 at 3:38
add a comment |
apt-get aborts when it wants interactive confirmation but can't read input from stdin.
For example, anyone (with pending upgrades) can reproduce this behavior by redirecting /dev/null to stdin:
skath@tahiti:~$ sudo apt-get upgrade < /dev/null
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
libcgmanager0
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 29.3 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Abort.
skath@tahiti:~$
This leads to the next question, what's taking over stdin when you're calling sudo apt-get upgrade
? That's a trickier question and might involve your sudo configuration or the terminal or shell you're using to invoke the command...
Or, if you just need a workaround, you can pass -y
to apt-get
to skip the prompt: sudo apt-get -y upgrade
Same issue, I'd rather know what is eating the input. This happens in Yakuake. Other terminals such as KDE's Konsole or mlterm functions as usual.
– Hamid
Nov 16 '17 at 22:23
1
I ran into this too (on Debian, I know, this is Ask Ubuntu, but maybe it will still be helpful...) and have no idea why it happened, but I opened a new tab in my terminal emulator application, and the problem went away.
– Jackson
Nov 28 '17 at 0:59
It's like a sin, one of those big ones. It disappeared after a purported update.
– Hamid
Nov 29 '17 at 3:38
add a comment |
apt-get aborts when it wants interactive confirmation but can't read input from stdin.
For example, anyone (with pending upgrades) can reproduce this behavior by redirecting /dev/null to stdin:
skath@tahiti:~$ sudo apt-get upgrade < /dev/null
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
libcgmanager0
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 29.3 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Abort.
skath@tahiti:~$
This leads to the next question, what's taking over stdin when you're calling sudo apt-get upgrade
? That's a trickier question and might involve your sudo configuration or the terminal or shell you're using to invoke the command...
Or, if you just need a workaround, you can pass -y
to apt-get
to skip the prompt: sudo apt-get -y upgrade
apt-get aborts when it wants interactive confirmation but can't read input from stdin.
For example, anyone (with pending upgrades) can reproduce this behavior by redirecting /dev/null to stdin:
skath@tahiti:~$ sudo apt-get upgrade < /dev/null
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
libcgmanager0
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 29.3 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Abort.
skath@tahiti:~$
This leads to the next question, what's taking over stdin when you're calling sudo apt-get upgrade
? That's a trickier question and might involve your sudo configuration or the terminal or shell you're using to invoke the command...
Or, if you just need a workaround, you can pass -y
to apt-get
to skip the prompt: sudo apt-get -y upgrade
edited Jan 6 '15 at 19:03
answered Jan 6 '15 at 18:46
Steven KSteven K
3,5411220
3,5411220
Same issue, I'd rather know what is eating the input. This happens in Yakuake. Other terminals such as KDE's Konsole or mlterm functions as usual.
– Hamid
Nov 16 '17 at 22:23
1
I ran into this too (on Debian, I know, this is Ask Ubuntu, but maybe it will still be helpful...) and have no idea why it happened, but I opened a new tab in my terminal emulator application, and the problem went away.
– Jackson
Nov 28 '17 at 0:59
It's like a sin, one of those big ones. It disappeared after a purported update.
– Hamid
Nov 29 '17 at 3:38
add a comment |
Same issue, I'd rather know what is eating the input. This happens in Yakuake. Other terminals such as KDE's Konsole or mlterm functions as usual.
– Hamid
Nov 16 '17 at 22:23
1
I ran into this too (on Debian, I know, this is Ask Ubuntu, but maybe it will still be helpful...) and have no idea why it happened, but I opened a new tab in my terminal emulator application, and the problem went away.
– Jackson
Nov 28 '17 at 0:59
It's like a sin, one of those big ones. It disappeared after a purported update.
– Hamid
Nov 29 '17 at 3:38
Same issue, I'd rather know what is eating the input. This happens in Yakuake. Other terminals such as KDE's Konsole or mlterm functions as usual.
– Hamid
Nov 16 '17 at 22:23
Same issue, I'd rather know what is eating the input. This happens in Yakuake. Other terminals such as KDE's Konsole or mlterm functions as usual.
– Hamid
Nov 16 '17 at 22:23
1
1
I ran into this too (on Debian, I know, this is Ask Ubuntu, but maybe it will still be helpful...) and have no idea why it happened, but I opened a new tab in my terminal emulator application, and the problem went away.
– Jackson
Nov 28 '17 at 0:59
I ran into this too (on Debian, I know, this is Ask Ubuntu, but maybe it will still be helpful...) and have no idea why it happened, but I opened a new tab in my terminal emulator application, and the problem went away.
– Jackson
Nov 28 '17 at 0:59
It's like a sin, one of those big ones. It disappeared after a purported update.
– Hamid
Nov 29 '17 at 3:38
It's like a sin, one of those big ones. It disappeared after a purported update.
– Hamid
Nov 29 '17 at 3:38
add a comment |
my problem was that I tried to run several commands at once by copy-pasting them into console
apt-get update
apt-get upgrade
apt-get dist-upgrade
apt-get install build-essential
...
Calling each command separately solved my problem
1
There can also be a 'hidden' carriage return between two package names. When I removed this eveything installed with a one line command e.g.sudo apt-get install libssl-dev libdb-dev libdb++-dev
– undersound
Jun 18 '18 at 19:34
add a comment |
my problem was that I tried to run several commands at once by copy-pasting them into console
apt-get update
apt-get upgrade
apt-get dist-upgrade
apt-get install build-essential
...
Calling each command separately solved my problem
1
There can also be a 'hidden' carriage return between two package names. When I removed this eveything installed with a one line command e.g.sudo apt-get install libssl-dev libdb-dev libdb++-dev
– undersound
Jun 18 '18 at 19:34
add a comment |
my problem was that I tried to run several commands at once by copy-pasting them into console
apt-get update
apt-get upgrade
apt-get dist-upgrade
apt-get install build-essential
...
Calling each command separately solved my problem
my problem was that I tried to run several commands at once by copy-pasting them into console
apt-get update
apt-get upgrade
apt-get dist-upgrade
apt-get install build-essential
...
Calling each command separately solved my problem
answered Mar 6 '18 at 12:05
AivenAiven
15113
15113
1
There can also be a 'hidden' carriage return between two package names. When I removed this eveything installed with a one line command e.g.sudo apt-get install libssl-dev libdb-dev libdb++-dev
– undersound
Jun 18 '18 at 19:34
add a comment |
1
There can also be a 'hidden' carriage return between two package names. When I removed this eveything installed with a one line command e.g.sudo apt-get install libssl-dev libdb-dev libdb++-dev
– undersound
Jun 18 '18 at 19:34
1
1
There can also be a 'hidden' carriage return between two package names. When I removed this eveything installed with a one line command e.g.
sudo apt-get install libssl-dev libdb-dev libdb++-dev
– undersound
Jun 18 '18 at 19:34
There can also be a 'hidden' carriage return between two package names. When I removed this eveything installed with a one line command e.g.
sudo apt-get install libssl-dev libdb-dev libdb++-dev
– undersound
Jun 18 '18 at 19:34
add a comment |
I just had this problem on 18.04.2. update
, update
, and dist-upgrade
worked fine; install
, failed with an abort. Yes, using -y
worked.
However, I found that there was a problem in my /etc/apt/sources.list
file, and that by restoring it to the default that came with the distribution (you can find your version online easily enough), that completely solved the problem.
I suspect that one of the alternate third party library scripts that was adding its own repository made a mistake.
I'd recommend making a backup copy, try replacing the file, ensuring the ownership and permissions are the same as the original, and then doing a sudo apt update
, then try your install.
I haven't had any problems since.
add a comment |
I just had this problem on 18.04.2. update
, update
, and dist-upgrade
worked fine; install
, failed with an abort. Yes, using -y
worked.
However, I found that there was a problem in my /etc/apt/sources.list
file, and that by restoring it to the default that came with the distribution (you can find your version online easily enough), that completely solved the problem.
I suspect that one of the alternate third party library scripts that was adding its own repository made a mistake.
I'd recommend making a backup copy, try replacing the file, ensuring the ownership and permissions are the same as the original, and then doing a sudo apt update
, then try your install.
I haven't had any problems since.
add a comment |
I just had this problem on 18.04.2. update
, update
, and dist-upgrade
worked fine; install
, failed with an abort. Yes, using -y
worked.
However, I found that there was a problem in my /etc/apt/sources.list
file, and that by restoring it to the default that came with the distribution (you can find your version online easily enough), that completely solved the problem.
I suspect that one of the alternate third party library scripts that was adding its own repository made a mistake.
I'd recommend making a backup copy, try replacing the file, ensuring the ownership and permissions are the same as the original, and then doing a sudo apt update
, then try your install.
I haven't had any problems since.
I just had this problem on 18.04.2. update
, update
, and dist-upgrade
worked fine; install
, failed with an abort. Yes, using -y
worked.
However, I found that there was a problem in my /etc/apt/sources.list
file, and that by restoring it to the default that came with the distribution (you can find your version online easily enough), that completely solved the problem.
I suspect that one of the alternate third party library scripts that was adding its own repository made a mistake.
I'd recommend making a backup copy, try replacing the file, ensuring the ownership and permissions are the same as the original, and then doing a sudo apt update
, then try your install.
I haven't had any problems since.
answered 3 hours ago
Walt StoneburnerWalt Stoneburner
1,2541810
1,2541810
add a comment |
add a comment |
protected by Community♦ Jun 22 '18 at 19:48
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
What happens if you type
y
?– Tim
Aug 11 '14 at 16:29
@Eliah yeah, try actually giving it y when it asks [Y/n]. I normally suggest that they do
sudo apt-get update | pastebinit
and give us the link, as it can be quite a long output...– Tim
Aug 11 '14 at 16:38
After I type y, it just says command not found since i'm typing y in ~$
– Francis M Albores
Aug 12 '14 at 6:23
Yeah @tim, the issue is that I'm aborted already even though I haven't type anything so I'm in the ($ command line now).
– Francis M Albores
Aug 12 '14 at 6:24
@EliahKagan I'll try to copy everything and paste it here when I get back to my computer at home.
– Francis M Albores
Aug 12 '14 at 6:25