[Bug 1242142] [NEW] aptitude-create-state-bundle stopps if user home encrypted && not mounted

schnollk 1242142 at bugs.launchpad.net
Sat Oct 19 19:53:33 UTC 2013


Public bug reported:

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

** Affects: aptitude (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

+ Hi there.
+ 
  aptitude-create-state-bundle --print-inputs
- /home/bjoern/.aptitude
+ /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/bjoern/.aptitude: Kann stat nicht ausführen: Datei oder Verzeichnis nicht gefunden
+ 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.
+ 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

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to aptitude in Ubuntu.
https://bugs.launchpad.net/bugs/1242142

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

Status in “aptitude” package in Ubuntu:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aptitude/+bug/1242142/+subscriptions



More information about the foundations-bugs mailing list