aptitude-create-state-bundle stopps if user home encrypted && not mounted

Bug #1242142 reported by schnollk on 2013-10-19
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
aptitude (Ubuntu)
Undecided
Unassigned

Bug Description

Hi there.

aptitude-create-state-bundle --print-inputs
/home/$USER/.aptitude
/var/lib/aptitude
/var/lib/apt
/var/cache/apt/pkgcache.bin
/var/cache/apt/srcpkgcache.bin
/etc/apt
/var/lib/dpkg/status

but since i chrooted and have home not mounted it goes

# aptitude-create-state-bundle aptitude-state-bundle.tar.gz
tar: .//home/$USER/.aptitude: Kann stat nicht ausführen: Datei oder Verzeichnis nicht gefunden
tar: Beende mit Fehlerstatus aufgrund vorheriger Fehler

it should have an option which files/folders to exclude from bundle (replaced actual user folder name by "$USER").

Thanks for all effort everyone!

--
# dpkg-query --search aptitude-create-state-bundle; dpkg -s aptitude-common | grep "^Version"
aptitude-common: /usr/share/man/it/man1/aptitude-create-state-bundle.1.gz
aptitude-common: /usr/bin/aptitude-create-state-bundle
aptitude-common: /usr/share/man/es/man1/aptitude-create-state-bundle.1.gz
aptitude-common: /usr/share/man/man1/aptitude-create-state-bundle.1.gz
Version: 0.6.8.2-1ubuntu2
# lsb_release -a ; uname -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 13.10
Release: 13.10
Codename: saucy
Linux duo 3.8.0-31-generic #46-Ubuntu SMP Tue Sep 10 19:56:49 UTC 2013 i686 i686

schnollk (schnollk) on 2013-10-19
description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers