2014-10-25 02:17:28 |
Sean Davis |
description |
I am getting this error every time i try to create the signature file on any computer running 14.04. Both 32 and 64 bit. Updated today.
The version of apt-offline is 1.3.1.
It complains about not understanding the "simulate option", but I have not asked for that option at all.
*****************
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.
Generating database of files that are needed for an upgrade.
****************
If I run the command in verbose mode, Im getting this output:
*****************
root@x:~# apt-offline set /home/offline.txt --verbose
VERBOSE: Namespace(func=<function setter at 0x7f13af66e320>, set='/home/offline.txt', set_install_packages=None, set_install_release=None, set_install_src_packages=None, set_update=False, set_upgrade=False, simulate=False, src_build_dep=False, upgrade_type='upgrade', verbose=True)
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.
****************
I have the same output when using the GUI. (apt-offline-gui). It does generate the file, but it is empty and useless.
I'm aware of this bug, but it does not seem to be the same one, its should be fixed by now. (Or it wasn't done proparly?)
https://bugs.launchpad.net/ubuntu/+source/apt-offline/+bug/1323976 |
[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(func=<function setter at 0x7f13af66e320>, set='/home/offline.txt', set_install_packages=None, set_install_release=None, set_install_src_packages=None, set_update=False, set_upgrade=False, simulate=False, src_build_dep=False, upgrade_type='upgrade', verbose=True)
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(func=<function setter at 0x7fee41622320>, set='/home/offline.txt', set_install_packages=None, set_install_release=None, set_install_src_packages=None, set_update=False, set_upgrade=False, simulate=False, src_build_dep=False, upgrade_type='upgrade', verbose=True)
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. |
|