[elbe-devel] [PATCH 1/2] Revert "pkgutils: dont fallback to nonvirtapt code, when virtapt is avail"

Torben Hohn torben.hohn at linutronix.de
Wed May 9 06:42:07 CEST 2018


On Tue, May 08, 2018 at 05:33:25PM +0200, Manuel Traut wrote:
> Hi Torben,
> 
> On Tue, May 08, 2018 at 05:00:26PM +0200, Torben Hohn wrote:
> > On Sat, Apr 28, 2018 at 02:14:40AM +0200, John Ogness wrote:
> > > This reverts commit 478b26e08550f1322ec2cb07db26d8fa961054b3.
> > > 
> > > The fallback code is used when creating the initvm from cdrom.
> > > Removing the fallback broke initvm cration from cdrom.
> > > 
> > > multiprocessing.managers.RemoteError:
> > > ---------------------------------------------------------------------------
> > > Traceback (most recent call last):
> > >   File "/usr/lib/python2.7/multiprocessing/managers.py", line 207, in handle_request
> > >     result = func(c, *args, **kwds)
> > >   File "/usr/lib/python2.7/multiprocessing/managers.py", line 386, in create
> > >     obj = callable(*args, **kwds)
> > >   File "/home/jogness/tmpfs/elbe/elbepack/virtapt.py", line 97, in __init__
> > >     self.cache = apt_pkg.Cache()
> > > Error: W:Updating from such a repository can't be done securely, and is therefore disabled by default., W:See apt-secure(8) manpage for repository creation and user configuration details., E:The value 'jessie' is invalid for APT::Default-Release as such a release is not available in the sources
> > > ---------------------------------------------------------------------------
> > 
> > I opened an Issue for the underlying Bug:
> > https://github.com/Linutronix/elbe/issues/158
> > 
> > Because that uncovered Bug should get fixed instead of catching
> > any Exception.
> 
> thanks, however i closed this issue as duplicate of removing all the generic
> Execptions that already exists. But it's good to have this additional background
> information, so i referenced it also in this issue.

How is this Bug a duplicate of #139 ?
It's not.

This Bug is about the RpcVirtapt thing not working with a CDROM.
And that should actually work.

There are 2 Issues here:

W:Updating from such a repository can't be done securely, and is therefore disabled by default.,
W:See apt-secure(8) manpage for repository creation and user configuration details.

First there is some Problem with the apt repository key.
I suspect that the new behaviour of stretch is ignoring that key now.
Does this happen when we are on jessie ?


And then the actual error:

E:The value 'jessie' is invalid for APT::Default-Release as such a release is not available in the sources

This is either the case, because the CDROM is broken, and really does
not contain any jessie packages, or this is just a followup of the
previous Problem, and we only need to fix the signature thing.

Anyways. Just because this thing is masked by #139, its not a duplicate
of it.



-- 
Mit freundlichen Grüßen
Torben Hohn

Linutronix GmbH

Standort: Bremen

Phone: +49 7556 25 999 18; Fax.: +49 7556 25 999 99

Firmensitz / Registered Office: D-88690 Uhldingen, Bahnhofstr. 3
Registergericht / Local District Court: Amtsgericht Freiburg i. Br.; HRB
Nr. / Trade register no.: 700 806

Geschäftsführer / Managing Directors: Heinz Egger, Thomas Gleixner

Eine Bitte von uns: Sollten Sie diese E-Mail irrtümlich erhalten haben,
benachrichtigen Sie uns in diesem Falle bitte sobald wie es Ihnen
möglich ist, durch Antwort-Mail. Vielen Dank!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.linutronix.de/pipermail/elbe-devel/attachments/20180509/cdbdcb96/attachment.sig>


More information about the elbe-devel mailing list