Control: tag -1 + confirmed patch Control: severity -1 minor Dear Jidanni,
積丹尼 Dan Jacobson wrote: > # aptitude-create-state-bundle /tmp/z > tar: .//root/.aptitude: Cannot stat: No such file or directory > tar: Exiting with failure status due to previous errors > > Well the man page says $HOME/.aptitude, which looks different than the > above. Not really. Depending on the user and the current working directory, this is (and from my point of view also looks) the same. > But what's the big deal? Why can't the program proceed if it isn't > present? Because tar trips over it. Passing --ignore-failed-read to tar should suffice. > Aptitude itself can still run, why not aptitude-create-state-bundle? Because aptitude doesn't call tar. > P.S., why not also grab a apt-config dump too? Why should we? We already have that data by including /etc/apt/ in the tar ball. Using "apt-config dump" whould just add completely unnecessary complexity. Regards, Axel -- ,''`. | Axel Beckert <a...@debian.org>, https://people.debian.org/~abe/ : :' : | Debian Developer, ftp.ch.debian.org Admin `. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5 `- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE