landscape-package-changer SIGSEGV in _PyObject_MakeTpCall()
Bug #1909490 reported by
Andreas Ulm
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Client |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
while installing a fresh focal based laptop landscape did not install any package profile configure via landcape webinterface.
After debugging the code I found that the process landscape-
This immidiately stops when /usr/lib/
```
deb = apt_inst.
```
to
```
deb = apt_inst.
```
That way apt_inst opens the deb-file on its own and landscape installs all profiles as expected.
Regards,
Andreas
To post a comment you must log in.
The behaviour can also be reproduced by the following simple python-code and the attached package file which was generated by landscape:
``` DebFile( '8081330. deb').control. extractdata( "control" ) profile- 3btf7rtf- printer- packages\ nVersion: 5\nArchitecture: all\nMaintainer: Landscape Team <email address hidden> \nInstalled- Size: 64\nDepends: expect, lib32gcc1, lib32stdc++6, lib32z1, libc6-i386, printer- driver- cups-pdf, xsane\nSection: metapackages\ nPriority: optional\ nDescription: Landscape meta-package for profile printer-packages\n additional packages to support printing e.g. for Brother MFC-9465CDN\n' DebFile( open('8081330. deb')). control. extractdata( "control" )
$ python3
>>> import apt_inst
>>> apt_inst.
b'Package: landscape-
>>>
>>> apt_inst.
Segmentation fault (core dumped)
```