APT at ubuntu 13.04: unable to install packages (with console-output as requested in PackageManagerTroubleshootingProcedure)
hi guys,
I am facing problems updating my apt-archive as well as installing any additional package e.g. Java. I switched to the main update server and disabled all PPAs, since the error suddenly occurred, but still not successful. I am using the latest ubuntu 13.04 release.
I am now posting my console output with all the necesssary steps as described in https:/
[code]
stefan@Stefan-NB:~$ sudo grep -R proxy /etc/apt/*
[sudo] password for stefan:
/etc/apt/
/etc/apt/
stefan@Stefan-NB:~$ grep proxy /etc/environment
http_proxy="http://
https_proxy="https:/
stefan@Stefan-NB:~$ echo $http_proxy
http://
stefan@Stefan-NB:~$ echo $ftp_proxy
stefan@Stefan-NB:~$ grep proxy /etc/bash.
stefan@Stefan-NB:~$ grep proxy /etc/bash.bashrc
stefan@Stefan-NB:~$ grep proxy ~/.bashrc
stefan@Stefan-NB:~$ cat /etc/apt/apt.conf
Acquire:
Acquire:
stefan@Stefan-NB:~$ sudo fuser -vvv /var/lib/dpkg/lock
stefan@Stefan-NB:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
stefan@Stefan-NB:~$ uname -a
Linux Stefan-NB 3.8.0-26-generic #38-Ubuntu SMP Mon Jun 17 21:46:08 UTC 2013 i686 i686 i686 GNU/Linux
stefan@Stefan-NB:~$ sudo rm /var/lib/
stefan@Stefan-NB:~$ sudo rm /var/lib/dpkg/lock
stefan@Stefan-NB:~$ sudo cp -arf /var/lib/dpkg /var/lib/
stefan@Stefan-NB:~$ sudo mv /var/lib/
stefan@Stefan-NB:~$ sudo cp /var/lib/
stefan@Stefan-NB:~$ sudo mv /var/lib/
stefan@Stefan-NB:~$ sudo cp /var/lib/
stefan@Stefan-NB:~$ sudo rm -rf /var/lib/
stefan@Stefan-NB:~$ sudo rm -rf /var/lib/apt/lists
stefan@Stefan-NB:~$ sudo rm /var/cache/
stefan@Stefan-NB:~$ sudo mkdir /var/lib/apt/lists
stefan@Stefan-NB:~$ sudo mkdir /var/lib/
stefan@Stefan-NB:~$ LANG=C;sudo apt-get clean
stefan@Stefan-NB:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
stefan@Stefan-NB:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
linux-
linux-
0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
40 not fully installed or removed.
After this operation, 195 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 214461 files and directories currently installed.)
Removing linux-headers-
Removing linux-headers-
Removing linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
update-initramfs: Deleting /boot/initrd.
run-parts: executing /etc/kernel/
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found memtest86+ image: /boot/memtest86
Found Windows 7 (loader) on /dev/sda1
done
Purging configuration files for linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Removing linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
update-initramfs: Deleting /boot/initrd.
run-parts: executing /etc/kernel/
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
Found Windows 7 (loader) on /dev/sda1
done
Purging configuration files for linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Setting up libssl1.0.0:i386 (1.0.1c-4ubuntu8.1) ...
Setting up libdrm2:i386 (2.4.43-0ubuntu1.1) ...
Setting up libdrm-intel1:i386 (2.4.43-0ubuntu1.1) ...
Setting up libdrm-
Setting up libdrm-radeon1:i386 (2.4.43-0ubuntu1.1) ...
Setting up libqtcore4:i386 (4:4.8.
Setting up libqt4-xml:i386 (4:4.8.
Setting up libqt4-dbus:i386 (4:4.8.
Setting up qdbus (4:4.8.
Setting up libqt4-network:i386 (4:4.8.
Setting up libqt4-script:i386 (4:4.8.
Setting up libqt4-sql:i386 (4:4.8.
Setting up libqt4-
Setting up libqt4-
Setting up libqt4-test:i386 (4:4.8.
Setting up linux-image-
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
update-initramfs: Generating /boot/initrd.
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
Found Windows 7 (loader) on /dev/sda1
done
Setting up compiz-core (1:0.9.
Setting up libdecoration0 (1:0.9.
Setting up compiz-
Setting up libcompizconfig0 (1:0.9.
Setting up compiz-gnome (1:0.9.
Setting up compiz (1:0.9.
Setting up flashplugin-
Setting up linux-image-
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
update-initramfs: Generating /boot/initrd.
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
Found Windows 7 (loader) on /dev/sda1
done
Setting up linux-image-generic (3.8.0.26.44) ...
Setting up linux-headers-
Setting up linux-headers-
Setting up linux-headers-
Setting up linux-generic (3.8.0.26.44) ...
Setting up linux-generic-pae (3.8.0.26.44) ...
Setting up linux-headers-
Setting up linux-libc-dev:i386 (3.8.0-26.38) ...
Setting up openssl (1.0.1c-4ubuntu8.1) ...
Setting up libqtgui4:i386 (4:4.8.
Setting up libqt4-
Setting up libqt4-
Setting up libqt4-help:i386 (4:4.8.
Setting up libqt4-opengl:i386 (4:4.8.
Setting up libqt4-
Setting up libqt4-svg:i386 (4:4.8.
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
stefan@Stefan-NB:~$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-
Err http://
Could not connect to 87.248.188.203:8080 (87.248.188.203). - connect (111: Connection refused)
Err http://
Unable to connect to 87.248.
Err http://
Unable to connect to 87.248.
Err http://
Unable to connect to 87.248.
Reading package lists... Done
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Some index files failed to download. They have been ignored, or old ones used instead.
stefan@Stefan-NB:~$ sudo dpkg --configure -a
stefan@Stefan-NB:~$ sudo dpkg --clear-avail
stefan@Stefan-NB:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
stefan@Stefan-NB:~$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
stefan@Stefan-NB:~$ LANG=C;sudo apt-get update -o APT::Cache-
Err http://
Could not connect to 87.248.188.203:8080 (87.248.188.203). - connect (111: Connection refused)
Err http://
Unable to connect to 87.248.
Err http://
Unable to connect to 87.248.
Err http://
Unable to connect to 87.248.
Reading package lists... Done
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
stefan@Stefan-NB:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;
/etc/apt/
1 # deb cdrom:[Ubuntu 13.04 _Raring Ringtail_ - Release i386 (20130424)]/ raring main restricted
2
3 # See http://
4 # newer versions of the distribution.
5 deb http://
6 deb-src http://
7
8 ## Major bug fix updates produced after the final release of the
9 ## distribution.
10 deb http://
11 deb-src http://
12
13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
14 ## team. Also, please note that software in universe WILL NOT receive any
15 ## review or updates from the Ubuntu security team.
16 deb http://
17 deb http://
18
19 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
20 ## team, and may not be under a free licence. Please satisfy yourself as to
21 ## your rights to use the software. Also, please note that software in
22 ## multiverse WILL NOT receive any review or updates from the Ubuntu
23 ## security team.
24 deb http://
25 deb http://
26
27 ## N.B. software from this repository may not have been tested as
28 ## extensively as that contained in the main release, although it includes
29 ## newer versions of some applications which may provide useful features.
30 ## Also, please note that software in backports WILL NOT receive any review
31 ## or updates from the Ubuntu security team.
32 deb http://
33 deb-src http://
34
35 deb http://
36 deb-src http://
37 deb http://
38 deb http://
39
40 ## Uncomment the following two lines to add software from Canonical's
41 ## 'partner' repository.
42 ## This software is not part of Ubuntu, but is offered by Canonical and the
43 ## respective vendors as a service to Ubuntu users.
44 # deb http://
45 # deb-src http://
46
47 ## This software is not part of Ubuntu, but is offered by third-party
48 ## developers who want to ship their latest software.
49 # deb http://
50 # deb-src http://
stefan@Stefan-NB:~$
[/code]
This is the very first time I am facing such a problem with APT. With 12.04 and previous versions, there wasn't such a problem. I love to use it, therefore I am very thankful for your help.
kind regards,
stefan
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu apt Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Stefan Fedl
- Solved:
- Last query:
- Last reply: