[SRU] Update apt-offline to fix apt compatibility
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt-offline (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Trusty |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
The current version of apt-offline in Trusty (fixed in Utopic) does not work.
root@X:~# apt-offline set /home/offline.txt
Generating database of files that are needed for an update.
E: Command line option --simulate is not understood
ERROR: FATAL: Something is wrong with the apt system.
root@x:~# apt-offline set /home/offline.txt --verbose
VERBOSE: Namespace(
Generating database of files that are needed for an update.
VERBOSE: Set environment variable for LANG from en_GB.UTF-8 to C temporarily.
E: Command line option --simulate is not understood
ERROR: FATAL: Something is wrong with the apt system.
VERBOSE: Set environment variable for LANG back to its original from C to en_GB.UTF-8.
VERBOSE: Calling __FixAptSigs to fix the apt sig problem
Generating database of files that are needed for an upgrade.
[Test Case]
Use the following command. It should run without error, and generate a package listing at /home/offline.txt
$ sudo apt-offline set /home/offline.txt --verbose
[sudo] password for sean:
VERBOSE: Namespace(
Generating database of files that are needed for an update.
VERBOSE: Set environment variable for LANG from en_US.UTF-8 to C temporarily.
VERBOSE: Set environment variable for LANG back to its original from C to en_US.UTF-8.
VERBOSE: Calling __FixAptSigs to fix the apt sig problem
Generating database of files that are needed for an upgrade.
[Regression Potential]
Minimal. The current version of apt-offline does not work at all, and this package fixes this.
tags: | added: trusty |
summary: |
- Something is wrong with the apt system. + [SRU] Update apt-offline to fix apt compatibility |
description: | updated |
Changed in apt-offline (Ubuntu Trusty): | |
status: | Confirmed → In Progress |
I attach my AptOfflineCoreL ib.py if someone is intrested. These error messages seems to appear at row 1499, but it seems to mean a lot of things.