Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@cliff-ubuntu:/home/cliff# apt upgrade
- 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:
- linux-generic-hwe-16.04 : Depends: linux-headers-generic-hwe-16.04 (= 4.13.0.37.56) but 4.13.0.36.55 is installed
- linux-signed-generic-hwe-16.04 : Depends: linux-headers-generic-hwe-16.04 (= 4.13.0.37.56) but 4.13.0.36.55 is installed
- E: Unmet dependencies. Try using -f.
- root@cliff-ubuntu:/home/cliff# 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-4.8.0-36 linux-headers-4.8.0-36-generic
- linux-image-4.8.0-36-generic linux-image-extra-4.8.0-36-generic
- linux-signed-image-4.8.0-36-generic snap-confine
- Use 'sudo apt autoremove' to remove them.
- The following additional packages will be installed:
- linux-headers-4.13.0-37 linux-headers-4.13.0-37-generic
- linux-headers-generic-hwe-16.04
- The following NEW packages will be installed:
- linux-headers-4.13.0-37-generic
- The following packages will be upgraded:
- linux-headers-4.13.0-37 linux-headers-generic-hwe-16.04
- 2 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
- 3 not fully installed or removed.
- Need to get 0 B/11.4 MB of archives.
- After this operation, 83.1 MB of additional disk space will be used.
- Do you want to continue? [Y/n] Y
- (Reading database ... 219200 files and directories currently installed.)
- Preparing to unpack .../linux-headers-4.13.0-37_4.13.0-37.42~16.04.1_all.deb ...
- Unpacking linux-headers-4.13.0-37 (4.13.0-37.42~16.04.1) over (4.13.0-37.42~16.04.1) ...
- [1]+ Stopped apt-get -f install
- root@cliff-ubuntu:/home/cliff#
- root@cliff-ubuntu:/home/cliff#
- root@cliff-ubuntu:/home/cliff# apt update
- Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease
- Ign:2 http://linux.dropbox.com/ubuntu wily InRelease
- Get:3 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
- Hit:4 http://linux.dropbox.com/ubuntu wily Release
- Get:5 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
- Get:7 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
- Hit:8 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease
- Fetched 306 kB in 1s (167 kB/s)
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- 3 packages can be upgraded. Run 'apt list --upgradable' to see them.
- root@cliff-ubuntu:/home/cliff# apt install npm
- E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
- E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
- root@cliff-ubuntu:/home/cliff# fg 1
- apt-get -f install
- ^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^Cccc
- ccc
- ^C^C^C^C^C^C^C^C^C^C^C^Ccc
- cc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement