Public bug reported:
I have called from terminal:
:~/Downloads$ backportpackage -b -s raring -d quantal -w .
concavity_0.1-2.dsc
As can be seen the actual directory is /home/user/Downloads/
The concavity_0.1-2.dsc file from Raring is stored there.
----------------
After this the following stacktrace occures:
:~/Downloads$ backportpackage -b -s raring -d quantal -w . concavity_0.1-2.dsc
backportpackage: Downloading concavity_0.1.orig.tar.xz from None (0.307 MiB)
Traceback (most recent call last):
File "/usr/bin/backportpackage", line 399, in <module>
sys.exit(main(sys.argv))
File "/usr/bin/backportpackage", line 377, in main
pkg.pull()
File "/usr/lib/python2.7/dist-packages/ubuntutools/archive.py", line 362, in
pull
if self._download_file(url, name):
File "/usr/lib/python2.7/dist-packages/ubuntutools/archive.py", line 322, in
_download_file
in_ = open(parsed.path, 'r')
IOError: [Errno 2] No such file or directory:
u'/home/user/Downloads/concavity_0.1.orig.tar.xz'
--------------
This is one of my first experiments with the backportpackage script.
So, may be it is a case of user misbehaviour.
-------------
Steps to reproduce:
1. Downlaod
http://archive.ubuntu.com/ubuntu/pool/universe/c/concavity/concavity_0.1-2.dsc
into your download folder
2. Call a terminal
3. Use the command
cd Downloads
4. Use the command
backportpackage -b -s raring -d quantal -w . concavity_0.1-2.dsc
5.See the crash
---------------
Additional:
The are two points I want to bring attention on:
backportpackage is a bit unhappy(with other command) if a package
resides in Universe and not in main security restricted proposed. This
may be one cause.
The second is a special in the .dsc file:
concavity_0.1.orig.tar.xz from None (0.307 MiB)
the number 0.1 for concavity is obfuscating me a little bit. The version
number is more 0.1-2.
Just this two hints. May be it is one of them(I just digging a bit).
ProblemType: Crash
DistroRelease: Ubuntu 12.10
Package: ubuntu-dev-tools 0.143ubuntu0.2
ProcVersionSignature: Ubuntu 3.5.0-27.46-generic 3.5.7.7
Uname: Linux 3.5.0-27-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.6.1-0ubuntu10
Architecture: amd64
Date: Fri Apr 5 13:26:16 2013
ExecutablePath: /usr/bin/backportpackage
ExecutableTimestamp: 1352840357
InstallationDate: Installed on 2013-01-13 (81 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
InterpreterPath: /usr/bin/python2.7
MarkForUpload: True
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/backportpackage -b -s raring -d quantal
-w . concavity_0.1-2.dsc
ProcCwd: /home/user/Downloads
ProcEnviron:
TERM=xterm
SHELL=/bin/bash
PATH=(custom, no user)
LANG=de_DE.UTF-8
XDG_RUNTIME_DIR=<set>
PythonArgs: ['/usr/bin/backportpackage', '-b', '-s', 'raring', '-d', 'quantal',
'-w', '.', 'concavity_0.1-2.dsc']
SourcePackage: ubuntu-dev-tools
Title: backportpackage crashed with IOError in _download_file(): [Errno 2] No
such file or directory: u'/home/user/Downloads/concavity_0.1.orig.tar.xz'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
** Affects: ubuntu-dev-tools (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-crash need-duplicate-check quantal running-unity
** Information type changed from Private to Public
--
You received this bug notification because you are a member of MOTU,
which is subscribed to ubuntu-dev-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1164955
Title:
backportpackage crashed with IOError in _download_file(): [Errno 2] No
such file or directory:
u'/home/user/Downloads/concavity_0.1.orig.tar.xz'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/1164955/+subscriptions
--
universe-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/universe-bugs