splashy refuses installment/update/removal

Asked by Leonard Emilian

leonardo@leonardo-laptop:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.1 LTS"
leonardo@leonardo-laptop:~$ uname -a
Linux leonardo-laptop 2.6.32-24-generic-pae #39-Ubuntu SMP Wed Jul 28 07:39:26 UTC 2010 i686 GNU/Linux
leonardo@leonardo-laptop:~$ sudo rm /var/lib/apt/lists/lock
[sudo] password for leonardo:
leonardo@leonardo-laptop:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
leonardo@leonardo-laptop:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
leonardo@leonardo-laptop:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
leonardo@leonardo-laptop:~$ sudo rm -rf /var/lib/dpkg/updates/*
leonardo@leonardo-laptop:~$ sudo rm -rf /var/lib/apt/lists
leonardo@leonardo-laptop:~$ sudo mkdir /var/lib/apt/lists
leonardo@leonardo-laptop:~$ sudo mkdir /var/lib/apt/lists/partial
leonardo@leonardo-laptop:~$ sudo rm /var/cache/apt/*.bin
leonardo@leonardo-laptop:~$ LANG=C;sudo apt-get clean
leonardo@leonardo-laptop:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
leonardo@leonardo-laptop:~$ LANG=C;sudo apt-get --purge autoremove
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:
  splashy-themes: Depends: splashy (>= 0.3.12-1) but it is not installable
E: Unmet dependencies. Try using -f.
leonardo@leonardo-laptop:~$ LANG=C;sudo apt-get update
Get:1 http://hu.archive.ubuntu.com lucid Release.gpg [189B]
Get:2 http://hu.archive.ubuntu.com lucid-updates Release.gpg [189B]
Get:3 http://hu.archive.ubuntu.com lucid Release [57.2kB]
Get:4 http://dl.google.com stable Release.gpg [189B]
Get:5 http://security.ubuntu.com lucid-security Release.gpg [189B]
Get:6 http://dl.google.com stable Release [2544B]
Get:7 http://ppa.launchpad.net lucid Release.gpg [307B]
Get:8 http://ppa.launchpad.net lucid Release.gpg [307B]
Get:9 http://hu.archive.ubuntu.com lucid-updates Release [44.7kB]
Get:10 http://security.ubuntu.com lucid-security Release [38.5kB]
Get:11 http://ppa.launchpad.net lucid Release [57.3kB]
Get:12 http://hu.archive.ubuntu.com lucid/main Packages [1386kB]
Get:13 http://dl.google.com stable/main Packages [1059B]
Get:14 http://security.ubuntu.com lucid-security/main Packages [57.1kB]
Get:15 http://ppa.launchpad.net lucid Release [57.3kB]
Get:16 http://ppa.launchpad.net lucid/main Packages [7352B]
Get:17 http://ppa.launchpad.net lucid/main Packages [8827B]
Get:18 http://hu.archive.ubuntu.com lucid/restricted Packages [6208B]
Get:19 http://hu.archive.ubuntu.com lucid/main Sources [659kB]
Get:20 http://security.ubuntu.com lucid-security/restricted Packages [14B]
Get:21 http://security.ubuntu.com lucid-security/main Sources [18.6kB]
Get:22 http://security.ubuntu.com lucid-security/restricted Sources [14B]
Get:23 http://security.ubuntu.com lucid-security/universe Packages [27.7kB]
Get:24 http://hu.archive.ubuntu.com lucid/restricted Sources [3775B]
Get:25 http://hu.archive.ubuntu.com lucid/universe Packages [5448kB]
Get:26 http://security.ubuntu.com lucid-security/universe Sources [5460B]
Get:27 http://security.ubuntu.com lucid-security/multiverse Packages [2012B]
Get:28 http://security.ubuntu.com lucid-security/multiverse Sources [580B]
Get:29 http://hu.archive.ubuntu.com lucid/universe Sources [3165kB]
Get:30 http://hu.archive.ubuntu.com lucid/multiverse Packages [180kB]
Get:31 http://hu.archive.ubuntu.com lucid/multiverse Sources [119kB]
Get:32 http://hu.archive.ubuntu.com lucid-updates/main Packages [275kB]
Get:33 http://hu.archive.ubuntu.com lucid-updates/restricted Packages [3252B]
Get:34 http://hu.archive.ubuntu.com lucid-updates/main Sources [99.6kB]
Get:35 http://hu.archive.ubuntu.com lucid-updates/restricted Sources [1292B]
Get:36 http://hu.archive.ubuntu.com lucid-updates/universe Packages [88.9kB]
Get:37 http://hu.archive.ubuntu.com lucid-updates/universe Sources [29.6kB]
Get:38 http://hu.archive.ubuntu.com lucid-updates/multiverse Packages [3771B]
Get:39 http://hu.archive.ubuntu.com lucid-updates/multiverse Sources [1499B]
Fetched 11.9MB in 4s (2534kB/s)
Reading package lists... Done
leonardo@leonardo-laptop:~$ sudo dpkg --clear-avail
leonardo@leonardo-laptop:~$ sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of splashy-themes:
 splashy-themes depends on splashy (>= 0.3.12-1); however:
  Package splashy is not installed.
dpkg: error processing splashy-themes (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 splashy-themes
leonardo@leonardo-laptop:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  splashy
Suggested packages:
  console-common
The following NEW packages will be installed:
  splashy
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 1181kB of archives.
After this operation, 1839kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://hu.archive.ubuntu.com/ubuntu/ lucid/universe splashy 0.3.13-5ubuntu1 [1181kB]
Fetched 1181kB in 0s (4425kB/s)
(Reading database ... 188214 files and directories currently installed.)
Unpacking splashy (from .../splashy_0.3.13-5ubuntu1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/splashy_0.3.13-5ubuntu1_i386.deb (--unpack):
 trying to overwrite '/etc/lsb-base-logging.sh', which is also in package lsb-base 0:4.0-0ubuntu8
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/splashy_0.3.13-5ubuntu1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
leonardo@leonardo-laptop:~$ LANG=C;sudo apt-get update && sudo apt-get dist-upgrade
Hit http://hu.archive.ubuntu.com lucid Release.gpg
Hit http://hu.archive.ubuntu.com lucid-updates Release.gpg
Hit http://hu.archive.ubuntu.com lucid Release
Get:1 http://dl.google.com stable Release.gpg [189B]
Hit http://hu.archive.ubuntu.com lucid-updates Release
Hit http://hu.archive.ubuntu.com lucid/main Packages
Hit http://hu.archive.ubuntu.com lucid/restricted Packages
Hit http://hu.archive.ubuntu.com lucid/main Sources
Hit http://hu.archive.ubuntu.com lucid/restricted Sources
Hit http://hu.archive.ubuntu.com lucid/universe Packages
Hit http://hu.archive.ubuntu.com lucid/universe Sources
Hit http://hu.archive.ubuntu.com lucid/multiverse Packages
Hit http://hu.archive.ubuntu.com lucid/multiverse Sources
Hit http://ppa.launchpad.net lucid Release.gpg
Hit http://hu.archive.ubuntu.com lucid-updates/main Packages
Hit http://hu.archive.ubuntu.com lucid-updates/restricted Packages
Hit http://hu.archive.ubuntu.com lucid-updates/main Sources
Hit http://hu.archive.ubuntu.com lucid-updates/restricted Sources
Hit http://hu.archive.ubuntu.com lucid-updates/universe Packages
Hit http://hu.archive.ubuntu.com lucid-updates/universe Sources
Hit http://hu.archive.ubuntu.com lucid-updates/multiverse Packages
Hit http://security.ubuntu.com lucid-security Release.gpg
Hit http://hu.archive.ubuntu.com lucid-updates/multiverse Sources
Hit http://ppa.launchpad.net lucid Release.gpg
Get:2 http://dl.google.com stable Release [2544B]
Get:3 http://dl.google.com stable/main Packages [1059B]
Hit http://security.ubuntu.com lucid-security Release
Hit http://ppa.launchpad.net lucid Release
Hit http://ppa.launchpad.net lucid Release
Hit http://security.ubuntu.com lucid-security/main Packages
Hit http://ppa.launchpad.net lucid/main Packages
Hit http://security.ubuntu.com lucid-security/restricted Packages
Hit http://security.ubuntu.com lucid-security/main Sources
Hit http://ppa.launchpad.net lucid/main Packages
Hit http://security.ubuntu.com lucid-security/restricted Sources
Hit http://security.ubuntu.com lucid-security/universe Packages
Hit http://security.ubuntu.com lucid-security/universe Sources
Hit http://security.ubuntu.com lucid-security/multiverse Packages
Hit http://security.ubuntu.com lucid-security/multiverse Sources
Fetched 3792B in 0s (7074B/s)
Reading package lists... Done
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:
  splashy-themes: Depends: splashy (>= 0.3.12-1) but it is not installed
E: Unmet dependencies. Try using -f.
leonardo@leonardo-laptop:~$

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#1

sudo dpkg --force-all -i /var/cache/apt/archives/splashy_0.3.13-5ubuntu1_i386.deb; sudo apt-get -f install

will fix it. There is a duplicated file in the splashy package, please log a bug for this to help others.

Revision history for this message
Leonard Emilian (leonhardcastle) said :
#2

Thank you for help. Now it's solved.
I'm also new on Ubuntu, so I need time getting used to the Linux environment and also to the Terminal.
Kudos!

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Please log a bug with splashy so the duplicate file gets sorted.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#4

New to Ubuntu: read the Ubuntu Manual, it's very informative: http://ubuntu-manual.org/
Click on the "download Button" to download the latest PDF version.