Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
HI sorry , I have tried a couple of things, but this seems to be quite a mess...Evertytime I uninstall a package I get an error and a list of unmet dependencies. If I then reinstall the package I still get errors. For example:
Code:
antobbo@antobbo-xps17-ubuntu:~$ sudo apt-get remove hplip
[sudo] password for antobbo:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies.
printer-driver-postscript-hp : Depends: hplip (>= 3.12.2-1ubuntu3.2) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
[1]+ Done firefox
antobbo@antobbo-xps17-ubuntu:~$ apt-get install hplip
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
antobbo@antobbo-xps17-ubuntu:~$ sudo apt-get install hplip
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies.
hplip : Depends: printer-driver-hpcups (= 3.12.2-1ubuntu3.3) but 3.12.2-1ubuntu3.2 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
antobbo@antobbo-xps17-ubuntu:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
linux-headers-3.2.0-32 firefox-globalmenu linux-headers-3.2.0-32-generic
libllvm3.0:i386
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
hplip printer-driver-hpcups
Suggested packages:
hplip-gui hplip-doc system-config-printer
The following packages will be upgraded:
hplip printer-driver-hpcups
2 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
11 not fully installed or removed.
Need to get 0 B/393 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up procps (1:3.2.8-11ubuntu6.2) ...
FATAL: Module bbswitch not found.
invoke-rc.d: initscript procps, action "start" failed.
dpkg: error processing procps (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of cups:
cups depends on procps; however:
Package procps is not configured yet.
dpkg: error processing cups (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of printer-driver-hpcups:
printer-driver-hpcups depends on cups; however:
Package cups is not configured yet.
dpkg: error processing printer-driver-hpcups (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of hplip:
hplip depends on libhpmud0 (= 3.12.2-1ubuntu3.2); however:
Version of libhpmud0 on system is 3.12.2-1ubuntu3.3.
hplip depends on libsane-hpaio (= 3.12.2-1ubuntu3.2); however:
Version of libsane-hpaio on system is 3.12.2-1ubuntu3.3.
hplip depends on hplip-data (= 3.12.2-1ubuntu3.2); however:
Version of hplip-data on system is 3.12.2-1No apport report written because the error message indicates it's a follow-up error from a previous failure.
No apport report written because the error message indicates it's a follow-up error from a previous failure.
No apport report written because MaxReports has already been reached
No apport report written because MaxReports has already been reached
ubuntu3.3.
hplip depends on printer-driver-hpcups (= 3.12.2-1ubuntu3.2); however:
Package printer-driver-hpcups is not configured yet.
hplip depends on cups (>= 1.1.20); however:
Package cups is not configured yet.
dpkg: error processing hplip (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of printer-driver-postscript-hp:
printer-driver-postscript-hp depends on hplip (>= 3.12.2-1ubuntu3.2); however:
Package hplip is not configured yet.
dpkg: error processing printer-driver-postscript-hp (--configure):
dependency problems - leaving unconfigured
Setting up whoopsie (0.1.33) ...
FATAL: Module bbswitch not found.
invoke-rc.d: initscript whoopsie, action "start" failed.
dpkg: error processing whoopsie (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up rsyslog (5.8.6-1ubuntu8.5) ...
No apport report written because MaxReports has already been reached
Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
FATAL: Module bbswitch not found.
invoke-rc.d: initscript rsyslog, action "restart" failed.
dpkg: error processing rsyslog (--configure):
subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports has already been reached
dpkg: dependency problems prevent configuration of apport-gtk:
apport-gtk depends on procps; however:
Package procps is not configured yet.
dpkg: error processing apport-gtk (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached
dpkg: dependency problems prevent configuration of samba:
samba depends on procps; however:
Package procps is not configured yet.
dpkg: error processing samba (--configure):
dependency problems - leaving unconfigured
Setting up bumblebee (3.2.1-1~preciseppa6) ...
No apport report written because MaxReports has already been reached
FATAL: Module bbswitch not found.
invoke-rc.d: initscript bumblebeed, action "start" failed.
dpkg: error processing bumblebee (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of bumblebee-nvidia:
bumblebee-nvidia depends on bumblebee (= 3.2.1-1~preciseppa6); however:
Package bumblebee is not configured yet.
dpkg: error processing bumblebee-nvidia (--configure):
dependency problems - leaving unconfigured
Processing triggers for initramfs-tools ...
No apport report written because MaxReports has already been reached
No apport report written because MaxReports has already been reached
update-initramfs: Generating /boot/initrd.img-3.5.0-42-generic
Errors were encountered while processing:
procps
cups
printer-driver-hpcups
hplip
printer-driver-postscript-hp
whoopsie
rsyslog
apport-gtk
samba
bumblebee
bumblebee-nvidia
E: Sub-process /usr/bin/dpkg returned an error code (1)
antobbo@antobbo-xps17-ubuntu:~$ sudo apt-get remove procps
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies.
apport-gtk : Depends: procps
cups : Depends: procps
hplip : Depends: libhpmud0 (= 3.12.2-1ubuntu3.2) but 3.12.2-1ubuntu3.3 is to be installed
Depends: libsane-hpaio (= 3.12.2-1ubuntu3.2) but 3.12.2-1ubuntu3.3 is to be installed
Depends: hplip-data (= 3.12.2-1ubuntu3.2) but 3.12.2-1ubuntu3.3 is to be installed
lsb-core : Depends: procps
openssh-server : Depends: procps
ppp : Depends: procps
samba : Depends: procps
ubuntu-minimal : Depends: procps
udev : Depends: procps
wine1.4 : Depends: procps
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
antobbo@antobbo-xps17-ubuntu:~$ sudo apt-get install procps
Reading package lists... Done
Building dependency tree
Reading state information... Done
procps is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies.
hplip : Depends: libhpmud0 (= 3.12.2-1ubuntu3.2) but 3.12.2-1ubuntu3.3 is to be installed
Depends: libsane-hpaio (= 3.12.2-1ubuntu3.2) but 3.12.2-1ubuntu3.3 is to be installed
Depends: hplip-data (= 3.12.2-1ubuntu3.2) but 3.12.2-1ubuntu3.3 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
antobbo@antobbo-xps17-ubuntu:~$
Do you reckon that reinstall the whole kernel would help at all?
thanks. The reason why i have mentioned updating the kernel was that a while back I has some different problems with y machine (the audio stopped working and similar) and a kernel update sorted out everything.
Is there a way to distinguish between universe and multiverse repositories and the other ones I shouldn't touch? Like in this list
procps
cups
printer-driver-hpcups
hplip
printer-driver-postscript-hp
whoopsie
rsyslog
apport-gtk
samba
bumblebee
bumblebee-nvidia
what's safe to remove and what's not?
Also, one more thing. I take that before removing a package I have to remove the dependencies of that package firs. Is there a way to find out the dependencies of a package and uninstall them before uninstall the actual package?
thanks
thanks. The reason why i have mentioned updating the kernel was that a while back I has some different problems with y machine (the audio stopped working and similar) and a kernel update sorted out everything.
Is there a way to distinguish between universe and multiverse repositories and the other ones I shouldn't touch?
The repositories are named as such in your /etc/apt/sources.list file.
Quote:
Like in this list
procps
cups
printer-driver-hpcups
hplip
printer-driver-postscript-hp
whoopsie
rsyslog
apport-gtk
samba
bumblebee
bumblebee-nvidia
Those are packages, not repositories
Quote:
what's safe to remove and what's not?
Also, one more thing. I take that before removing a package I have to remove the dependencies of that package firs. Is there a way to find out the dependencies of a package and uninstall them before uninstall the actual package?
use apt-cache to find out about packages. Eg for a description and list of dependencies etc
Code:
apt-cache show samba
More information can be obtained with:
Code:
apt-cache showpkg samba
There are commands for specific information. Eg for reverse dependencies
Code:
apt-cache rdepends samba
You can get lots of information using apt-cache. See the man page for more information.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.