Cannot install upgrade or remove sbackup-gtk after upgrading to maverick

Bug #659020 reported by Michael G. Vlachos
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
sbackup (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: sbackup

Hi,

I just upgrade lucid to maverick. I had some problems with some package versions but I was able to resolve them. What I cannot resolve is the upgrade or removal of sbackup. when I execute sudo apt-get remove sbackup-gtk I receive the following messages.

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  sbackup-gtk
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 864kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 410669 files and directories currently installed.)
Removing sbackup-gtk ...
gtk-update-icon-cache: Cache file created successfully.
gtk-update-icon-cache: The generated cache was invalid.
dpkg: error processing sbackup-gtk (--remove):
 subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
 sbackup-gtk
E: Sub-process /usr/bin/dpkg returned an error code (1)

Because of this problem I cannot run the update-manager. Any help please?

Regards,

Mike

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: sbackup-gtk 0.11.3ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-22.34-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Tue Oct 12 11:08:02 2010
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, no user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: sbackup

Revision history for this message
Michael G. Vlachos (mgvlachos) wrote :
Revision history for this message
Michael G. Vlachos (mgvlachos) wrote :

I tried sudo apt-get install -f and sudo apt-get autoremove with no luck and then I did the following

sudo updatedb
locate sbackup-gtk > sbackup-gtk.txt
cat sbackup-gtk.txt

This returned some files for sbackup-gtk which I deleted

sudo rm /var/crash/sbackup-gtk.0.crash
sudo rm /var/lib/dpkg/info/sbackup-gtk.list
sudo rm /var/lib/dpkg/info/sbackup-gtk.md5sums
sudo rm /var/lib/dpkg/info/sbackup-gtk.postinst
sudo rm /var/lib/dpkg/info/sbackup-gtk.postrm
rm /var/lib/dpkg/info/sbackup-gtk.prerm

Now I can run update-manager and sudo apt-get update and upgrade with no problem.

sbackup is still installed but if I try to remove ti and install it again I have the same problem and I have to do again the same procedure in order to resolve it.

Revision history for this message
Matt_H (matt-heimbach) wrote :

I'm having problems with sbackup as well after upgrading from 10.04 to 10.10. In 10.04 you could launch it from the Administration menu and it required sudo access. Now in 10.10 it is launched from the Accessories menu and is not found in the Administration menu. When you launch it from the Accessories menu in 10.10 it does not remember the configuration you had in 10.04, instead loading a default profile and asking for you to save your configuration. However, the backup still runs using the configuration you had in 10.04. I tried copying the configuration file from the version in 10.04 (located in 'etc') to the new version in 10.10 (located in 'home/userid/.config') but then a permission denied error comes up. Also, I can't restore using the new 10.10 version when pointing to the existing backup files created by the 10.04 version, as it does not have permission to the directory I used to store the backup files.

Basically, I've got the version that requires sudo access running in the background properly as it did in 10.04, but I can't access it via the gui. I'd be happy reconfiguring and using the user version accessible in the gui, but I'm afraid it will conflict with the sudo version already running.

Revision history for this message
Jean-Peer Lorenz (peer.loz) wrote :

Thanks for using sbackup and taking the time reporting this issues.

@Matt_H: your question is answered here https://answers.launchpad.net/sbackup/+faq/1322

Revision history for this message
Jean-Peer Lorenz (peer.loz) wrote :

@Michael:

something is wrong with your icon caches or theme folders. Could you please manually run from command line

~$ sudo gtk-update-icon-cache -v /usr/share/icons/ubuntu-mono-light
~$ sudo gtk-update-icon-cache -v /usr/share/icons/ubuntu-mono-dark
and
~$ sudo gtk-update-icon-cache -f -t /usr/share/icons/ubuntu-mono-light
~$ sudo gtk-update-icon-cache -f -t /usr/share/icons/ubuntu-mono-dark

Thanks for your help.

Changed in sbackup (Ubuntu):
status: New → Incomplete
Revision history for this message
Michael G. Vlachos (mgvlachos) wrote :

The first 3 command lines executed successfuly but the fourth one returns the following error:

sudo gtk-update-icon-cache -f -t /usr/share/icons/ubuntu-mono-dark
gtk-update-icon-cache: The generated cache was invalid.

Thanks,

Revision history for this message
Jean-Peer Lorenz (peer.loz) wrote :

There are usually two reasons for this "error":
* the cached directory is empty
      - caused by icons pack uninstall removing files but leaving directory in place
*directory is not empty but the icons are not in subfolders named WIDTHxHEIGHT (icon dimensions).

Please check the theme folder /usr/share/icons/ubuntu-mono-dark. Did you installed any icons manually?
Does re-installing the ubuntu-mono-dark theme help?

Revision history for this message
Michael G. Vlachos (mgvlachos) wrote :

The icons are there. The obly change I did is that I replaced manualy start_here.svg with another icon and I renamed the default icon to start_here (copy).svg.

Revision history for this message
Jean-Peer Lorenz (peer.loz) wrote :

Still an issue?

Revision history for this message
Michael G. Vlachos (mgvlachos) wrote :

Yes still the same problems.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for sbackup (Ubuntu) because there has been no activity for 60 days.]

Changed in sbackup (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.