Package dependencies cannot be resolved
I've just installed Ubuntu 11.10 from a fresh install and when I booted into it and wanted to install vlc & PlayOnLinux from the Ubuntu Software Center I got this error:
Package dependencies cannot be resolved
This error could be caused by required additional software packages which are missing or not installable. Furthermore there could be a conflict between software packages which are not allowed to be installed at the same time.
This happens with almost every piece of software I try to download from the Ubuntu Software Center.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Nemo
- Solved:
- Last query:
- Last reply:
Revision history for this message
![]() |
#1 |
Can you give the output of:
sudo apt-get -f nstall; lsb_release -a
Thanks
Revision history for this message
![]() |
#2 |
E: Invalid operation nstall
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.10
Release: 11.10
Codename: oneiric
Revision history for this message
![]() |
#3 |
Revision history for this message
![]() |
#4 |
It worked! Thanks a lot :) Here's the output:
nemo@Nemo:~$ sudo bash
[sudo] password for nemo:
root@Nemo:~# sudo fuser -vvv /var/lib/dpkg/lock
root@Nemo:~#
root@Nemo:~# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
root@Nemo:~#
root@Nemo:~# uname -a
Linux Nemo 3.0.0-12-
root@Nemo:~#
root@Nemo:~# sudo rm /var/lib/
rm: cannot remove `/var/lib/
root@Nemo:~#
root@Nemo:~# sudo cp -arf /var/lib/dpkg /var/lib/
root@Nemo:~#
root@Nemo:~# sudo cp /var/lib/
root@Nemo:~#
root@Nemo:~# sudo cp /var/lib/
root@Nemo:~#
root@Nemo:~# sudo rm -rf /var/lib/
root@Nemo:~#
root@Nemo:~# sudo rm -rf /var/lib/apt/lists
root@Nemo:~#
root@Nemo:~# sudo rm /var/cache/
root@Nemo:~#
root@Nemo:~# sudo mkdir /var/lib/apt/lists
root@Nemo:~#
root@Nemo:~# sudo mkdir /var/lib/
root@Nemo:~#
root@Nemo:~# LANG=C;sudo apt-get clean
root@Nemo:~#
root@Nemo:~# LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
root@Nemo:~#
root@Nemo:~# LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@Nemo:~#
root@Nemo:~# LANG=C;sudo apt-get update -o APT::Cache-
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Get:1 http://
Ign http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Ign http://
Get:12 http://
Get:13 http://
Get:14 http://
Ign http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Get:22 http://
Ign http://
Ign http://
Ign http://
Ign http://
Get:23 http://
Ign http://
Get:24 http://
Get:25 http://
Ign http://
Get:26 http://
Get:27 http://
Get:28 http://
Get:29 http://
Get:30 http://
Get:31 http://
Get:32 http://
Get:33 http://
Get:34 http://
Get:35 http://
Get:36 http://
Get:37 http://
Get:38 http://
Get:39 http://
Get:40 http://
Get:41 http://
Get:42 http://
Get:43 http://
Get:44 http://
Get:45 http://
Get:46 http://
Get:47 http://
Get:48 http://
Get:49 http://
Get:50 http://
Get:51 http://
Get:52 http://
Get:53 http://
Get:54 http://
Get:55 http://
Get:56 http://
Get:57 http://
Get:58 http://
Get:59 http://
Get:60 http://
Get:61 http://
Get:62 http://
Get:63 http://
Get:64 http://
Get:65 http://
Get:66 http://
Get:67 http://
Get:68 http://
Get:69 http://
Get:70 http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Fetched 10.3 MB in 38s (267 kB/s)
Reading package lists... Done
W: Duplicate sources.list entry http://
W: Duplicate sources.list entry http://
W: Duplicate sources.list entry http://
W: Duplicate sources.list entry http://
W: You may want to run apt-get update to correct these problems
root@Nemo:~#
root@Nemo:~# sudo dpkg --clear-avail
root@Nemo:~#
root@Nemo:~# sudo dpkg --configure -a
root@Nemo:~#
root@Nemo:~# 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 2 not upgraded.
root@Nemo:~#
root@Nemo:~# 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 2 not upgraded.
root@Nemo:~#
root@Nemo:~# LANG=C;sudo apt-get update -o APT::Cache-
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Get:1 http://
Ign http://
Ign http://
Get:2 http://
Ign http://
Ign http://
Get:3 http://
Ign http://
Ign http://
Ign http://
Fetched 2765 B in 31s (87 B/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
simple-scan xserver-
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 356 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://
Get:2 http://
Fetched 356 kB in 0s (371 kB/s)
(Reading database ... 142377 files and directories currently installed.)
Preparing to replace simple-scan 3.2.0-0ubuntu1 (using .../simple-
Unpacking replacement simple-scan ...
Preparing to replace xserver-
Unpacking replacement xserver-
Processing triggers for man-db ...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/
Processing triggers for libglib2.0-0 ...
Setting up simple-scan (3.2.1-
Setting up xserver-
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
root@Nemo:~#