[SRU] Update apt-offline to fix apt compatibility

Bug #1357217 reported by Kenneth Wrede
30
This bug affects 4 people
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(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.

Revision history for this message
Kenneth Wrede (kennethwrede) wrote :

I attach my AptOfflineCoreLib.py if someone is intrested. These error messages seems to appear at row 1499, but it seems to mean a lot of things.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apt-offline - 1.3.1ubuntu1

---------------
apt-offline (1.3.1ubuntu1) utopic; urgency=medium

  * Add git commit debf1ea to fix compatibility with apt. (LP: #1357217)
 -- Unit 193 <email address hidden> Mon, 25 Aug 2014 06:24:50 -0400

Changed in apt-offline (Ubuntu):
status: New → Fix Released
Revision history for this message
Kenneth Wrede (kennethwrede) wrote :

Still the same same problem in Trusty. The fix is not released there.

tags: added: trusty
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in apt-offline (Ubuntu Trusty):
status: New → Confirmed
Sean Davis (bluesabre)
summary: - Something is wrong with the apt system.
+ [SRU] Update apt-offline to fix apt compatibility
description: updated
Sean Davis (bluesabre)
Changed in apt-offline (Ubuntu Trusty):
status: Confirmed → In Progress
Revision history for this message
Chris J Arges (arges) wrote : Please test proposed package

Hello Kenneth, or anyone else affected,

Accepted apt-offline into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/apt-offline/1.3.1ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in apt-offline (Ubuntu Trusty):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Kenneth Wrede (kennethwrede) wrote :

Unfortunatly I havn't been able to test it until now. (The computers have been in boxes.)

But now I have, and it works GREAT!
Version 1.3.1ubuntu0.1

Thanks a lot!

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apt-offline - 1.3.1ubuntu0.1

---------------
apt-offline (1.3.1ubuntu0.1) trusty-proposed; urgency=medium

  * Add git commit debf1ea to fix compatibility with apt. (LP: #1357217)
 -- Unit 193 <email address hidden> Fri, 24 Oct 2014 21:20:14 -0400

Changed in apt-offline (Ubuntu Trusty):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for apt-offline has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.