Skip to content

Instantly share code, notes, and snippets.

Created May 22, 2014 13:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/66b75039f97b0d99e723 to your computer and use it in GitHub Desktop.
Save anonymous/66b75039f97b0d99e723 to your computer and use it in GitHub Desktop.
myuser@trogdor:~$ sudo apt-get upgrade
[sudo] password for myuser:
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:
libsane : Depends: libsane-common (= 1.0.23-3ubuntu3)
libsane-dev : Depends: libsane (= 1.0.23-3ubuntu3.1) but 1.0.23-3ubuntu3 is installed
E: Unmet dependencies. Try using -f.
myuser@trogdor:~$ sudo apt-get -f upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
linux-headers-3.13.0-24 linux-headers-3.13.0-24-generic
linux-image-3.13.0-24-generic linux-image-extra-3.13.0-24-generic
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
libqt5qml5 libqt5quick5 libsane python-lxml python3-lxml
qtdeclarative5-dialogs-plugin qtdeclarative5-localstorage-plugin
qtdeclarative5-privatewidgets-plugin qtdeclarative5-qtquick2-plugin
qtdeclarative5-window-plugin
10 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
18 not fully installed or removed.
Need to get 3,647 kB/5,576 kB of archives.
After this operation, 9,216 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu/ trusty-proposed/main libqt5qml5 amd64 5.2.1-3ubuntu15.1 [1,212 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty-proposed/main libqt5quick5 amd64 5.2.1-3ubuntu15.1 [981 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ trusty-proposed/main qtdeclarative5-privatewidgets-plugin amd64 5.2.1-3ubuntu15.1 [40.4 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ trusty-proposed/main qtdeclarative5-dialogs-plugin amd64 5.2.1-3ubuntu15.1 [79.8 kB]
Get:5 http://archive.ubuntu.com/ubuntu/ trusty-proposed/main qtdeclarative5-localstorage-plugin amd64 5.2.1-3ubuntu15.1 [28.5 kB]
Get:6 http://archive.ubuntu.com/ubuntu/ trusty-proposed/main qtdeclarative5-qtquick2-plugin amd64 5.2.1-3ubuntu15.1 [34.0 kB]
Get:7 http://archive.ubuntu.com/ubuntu/ trusty-proposed/main qtdeclarative5-window-plugin amd64 5.2.1-3ubuntu15.1 [16.2 kB]
Get:8 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python-lxml amd64 3.3.3-1ubuntu0.1 [629 kB]
Get:9 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python3-lxml amd64 3.3.3-1ubuntu0.1 [625 kB]
Fetched 3,647 kB in 4s (793 kB/s)
(Reading database ... 296249 files and directories currently installed.)
Preparing to unpack .../libsane_1.0.23-3ubuntu3.1_amd64.deb ...
Unpacking libsane:amd64 (1.0.23-3ubuntu3.1) over (1.0.23-3ubuntu3) ...
dpkg: error processing archive /var/cache/apt/archives/libsane_1.0.23-3ubuntu3.1_amd64.deb (--unpack):
trying to overwrite shared '/etc/sane.d/dll.conf', which is different from other instances of package libsane:amd64
Preparing to unpack .../libqt5qml5_5.2.1-3ubuntu15.1_amd64.deb ...
Unpacking libqt5qml5:amd64 (5.2.1-3ubuntu15.1) over (5.2.1-3ubuntu15) ...
Preparing to unpack .../libqt5quick5_5.2.1-3ubuntu15.1_amd64.deb ...
Unpacking libqt5quick5:amd64 (5.2.1-3ubuntu15.1) over (5.2.1-3ubuntu15) ...
Preparing to unpack .../qtdeclarative5-privatewidgets-plugin_5.2.1-3ubuntu15.1_amd64.deb ...
Unpacking qtdeclarative5-privatewidgets-plugin:amd64 (5.2.1-3ubuntu15.1) over (5.2.1-3ubuntu15) ...
Preparing to unpack .../qtdeclarative5-dialogs-plugin_5.2.1-3ubuntu15.1_amd64.deb ...
Unpacking qtdeclarative5-dialogs-plugin:amd64 (5.2.1-3ubuntu15.1) over (5.2.1-3ubuntu15) ...
Preparing to unpack .../qtdeclarative5-localstorage-plugin_5.2.1-3ubuntu15.1_amd64.deb ...
Unpacking qtdeclarative5-localstorage-plugin:amd64 (5.2.1-3ubuntu15.1) over (5.2.1-3ubuntu15) ...
Preparing to unpack .../qtdeclarative5-qtquick2-plugin_5.2.1-3ubuntu15.1_amd64.deb ...
Unpacking qtdeclarative5-qtquick2-plugin:amd64 (5.2.1-3ubuntu15.1) over (5.2.1-3ubuntu15) ...
Preparing to unpack .../qtdeclarative5-window-plugin_5.2.1-3ubuntu15.1_amd64.deb ...
Unpacking qtdeclarative5-window-plugin:amd64 (5.2.1-3ubuntu15.1) over (5.2.1-3ubuntu15) ...
Preparing to unpack .../python-lxml_3.3.3-1ubuntu0.1_amd64.deb ...
Unpacking python-lxml (3.3.3-1ubuntu0.1) over (3.3.3-1) ...
Preparing to unpack .../python3-lxml_3.3.3-1ubuntu0.1_amd64.deb ...
Unpacking python3-lxml (3.3.3-1ubuntu0.1) over (3.3.3-1) ...
Errors were encountered while processing:
/var/cache/apt/archives/libsane_1.0.23-3ubuntu3.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
myuser@trogdor:~$ sudo apt-get -f upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
linux-headers-3.13.0-24 linux-headers-3.13.0-24-generic
linux-image-3.13.0-24-generic linux-image-extra-3.13.0-24-generic
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
libsane
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
27 not fully installed or removed.
Need to get 0 B/1,929 kB of archives.
After this operation, 4,096 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 296249 files and directories currently installed.)
Preparing to unpack .../libsane_1.0.23-3ubuntu3.1_amd64.deb ...
Unpacking libsane:amd64 (1.0.23-3ubuntu3.1) over (1.0.23-3ubuntu3) ...
dpkg: error processing archive /var/cache/apt/archives/libsane_1.0.23-3ubuntu3.1_amd64.deb (--unpack):
trying to overwrite shared '/etc/sane.d/dll.conf', which is different from other instances of package libsane:amd64
Errors were encountered while processing:
/var/cache/apt/archives/libsane_1.0.23-3ubuntu3.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
myuser@trogdor:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment