- Package:
- aptitude-common
- Source:
- aptitude
- Submitter:
- ç©ä¸¹å°¼ Dan Jacobson
- Date:
- 2025-03-18 13:48:03 UTC
- Severity:
- minor
- Tags:
# 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. But what's the big deal? Why can't the program proceed if it isn't present? Aptitude itself can still run, why not aptitude-create-state-bundle? P.S., why not also grab a apt-config dump too?
Dear Jidanni, 積丹尼 Dan Jacobson wrote: Not really. Depending on the user and the current working directory, this is (and from my point of view also looks) the same. Because tar trips over it. Passing --ignore-failed-read to tar should suffice. Because aptitude doesn't call tar. 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
Dear Jidanni, Axel Beckert wrote: Actually, aptitude-create-state-bundle still exits with 0 and the file is still generated. So it's a really, really minor and cosmetic issue. Done that now in the master branch. It actually has no impact on the resulting file. It just downgrades tar's output from "error" to "warning". It will be fixed in the next aptitude upstream release. This will probably be 0.8.14. It is not fixed in the 0.8.13-2 package I just uploaded with a patch to fix a FTBFS. Regards, Axel
Glad it will be fixed soon. Thanks.
Hi, I don't know when 0.8.14 is planned, but that's almost 5 years since this message was posted. Regards,