On Ubuntu Kylin detect all packages as not genuine
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Ubuntu Kylin |
High
|
Aron Xu | ||
| | ubuntukylin-default-settings (Ubuntu) |
High
|
Aron Xu | ||
Bug Description
Hallo
In Vivid if I run apport-bug (pkg) it always return that is not a genuine package:
The problem cannot be reported:
This is not an official Ubuntu package. Please remove any third party package and try again.
see attached screenshot.
Set as critical because it represent a loss of informations in a test environement ( eg: a medium user feel discouraged to report a bug)
Thanks
Fabio
P.S.:
This start happening after apport's upgrades and NOT runing a fresh installation.
- WORKAROUND at #20
---
ApportLog:
ApportVersion: 2.16.1-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
DistroRelease: Ubuntu Kylin 14.10
InstallationDate: Installed on 2014-08-12 (184 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
Package: apport 2.16.1-0ubuntu2 [origin: Ubuntu]
PackageArchitec
ProcVersionSign
Tags: third-party-
Uname: Linux 3.18.0-13-generic x86_64
UnreportableReason: This is not an official Ubuntu package. Please remove any third party package and try again.
UpgradeStatus: Upgraded to vivid on 2015-01-10 (33 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
---
ApportVersion: 2.16.2-0ubuntu1
Architecture: amd64
CrashReports:
640:1000:
644:0:
640:110:
640:108:
600:110:
CurrentDesktop: Unity
DistroRelease: Ubuntu Kylin 15.04
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-02-24 (9 days ago)
InstallationMedia: Ubuntu-Kylin 15.04 "Vivid Vervet" - Alpha amd64 (20150224)
Package: apport 2.16.2-0ubuntu1 [origin: Ubuntu]
PackageArchitec
Tags: third-party-
Uname: Linux 4.0.0-040000rc2
UnreportableReason: This is not an official Ubuntu package. Please remove any third party package and try again.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
Related branches
| Fabio Marconi (fabiomarconi) wrote : | #1 |
| tags: | added: vivid |
| Changed in apport (Ubuntu): | |
| importance: | Undecided → Critical |
| description: | updated |
| description: | updated |
| Brian Murray (brian-murray) wrote : | #2 |
| Fabio Marconi (fabiomarconi) wrote : | #3 |
Hallo,
As suggested in the list I've cleaned out the /var/lib/
Best regards
| Brian Murray (brian-murray) wrote : | #4 |
Could you run apport-collect for this bug report? What desktop environment are you using?
| Changed in apport (Ubuntu): | |
| status: | New → Incomplete |
apport information
| tags: | added: apport-collected third-party-packages |
| description: | updated |
apport information
apport information
Hallo Brian
Your suspects about the desktop environement are right, this was originally an Ubuntu desktop installation over wich I have installed the Ubuntu Kylin desktop env.
Best regards
| Changed in apport (Ubuntu): | |
| status: | Incomplete → New |
| status: | New → Confirmed |
| Brian Murray (brian-murray) wrote : | #9 |
Could you show the output of apt-cache policy apport and also add your /etc/apt/
| Fabio Marconi (fabiomarconi) wrote : | #10 |
Of course, here they are:
njin@ZZZZ:~$ apt-cache policy apport
apport:
Installed: 2.16.1-0ubuntu2
Candidate: 2.16.1-0ubuntu2
Version table:
*** 2.16.1-0ubuntu2 0
500 http://
100 /var/lib/
| Brian Murray (brian-murray) wrote : | #11 |
What do you have in the directory /usr/share/
| Fabio Marconi (fabiomarconi) wrote : | #12 |
I have these:
njin@ZZZZ:~$ ls /usr/share/
clickinfo.py generic.py powerpc.py ubuntu.py
clickinfo.pyc generic.pyc powerpc.pyc ubuntu.pyc
cloud_archive.py parse_segv.py ubuntu-gnome.py wayland_session.py
cloud_archive.pyc parse_segv.pyc ubuntu-gnome.pyc wayland_session.pyc
njin@ZZZZ:~$
| Brian Murray (brian-murray) wrote : | #13 |
How did you install Ubuntu Kylin? Its strange to me that DistroRelease says 14.10 but the bug is tagged vivid.
| Fabio Marconi (fabiomarconi) wrote : | #14 |
Hallo
I installed a normal Ubuntu 14.04.01, upgraded to Utopic, upgraded to Vivid and then I have installed Ubuntukylin-
I am trying just now to redo all the steps I made to see if it is reproducible.
I've also tried a daily build of Vivid in wich apport is working normally.
Best regards
| Changed in apport (Ubuntu): | |
| importance: | Critical → Medium |
| Fabio Marconi (fabiomarconi) wrote : | #15 |
Hallo Brian
I have reistalled the system using a Ubuntu-Kylin Vivid image some weeks ago and it was working.
Now after these latest upgrades it is broken again, same behavior as before, all the packages are detected as NOT genuine.
Weird things I have done are installation of Ubuntu's mainline kernels and utilities like gdebi, synaptic, xchat and sogou pinyin input method, all fully working.
Any hint??
Best regards
| Fabio Marconi (fabiomarconi) wrote : | #16 |
apport information
apport information
| Changed in apport (Ubuntu): | |
| importance: | Medium → High |
This happens because /etc/os-release contains NAME="Ubuntu Kylin" and is_distro_package from packaging-
| summary: |
- detect all packages as not genuine + On Ubuntu Kylin detect all packages as not genuine |
| Brian Murray (brian-murray) wrote : | #21 |
I did have a crash report from an Ubuntu Kylin install appear in the Error Tracker though:
https:/
| Changed in ubuntukylin: | |
| importance: | Undecided → High |
| milestone: | none → vivid-beta2 |
| status: | New → Triaged |
| Changed in apport (Ubuntu): | |
| status: | Confirmed → Triaged |
| Changed in ubuntukylin: | |
| importance: | High → Critical |
| description: | updated |
| Changed in ubuntukylin: | |
| importance: | Critical → High |
| Fabio Marconi (fabiomarconi) wrote : | #22 |
Yes!!
I've manually edited the /etc/os-release file deleting kylin and it works.
Thanks and best regards
| description: | updated |
| Martin Pitt (pitti) wrote : | #23 |
> This happens because /etc/os-release contains NAME="Ubuntu Kylin" and
Eek! That's not intended..
So could whatever modifies this file also create a corresponding /etc/apport/
| Fabio Marconi (fabiomarconi) wrote : | #24 |
Hallo Martin
Happy to meet you
I do not have that file in my Vivid Kylin, inside /etc/apport/
Thanks and best regards
| Brian Murray (brian-murray) wrote : | #25 |
It's the ubuntukylin-
$ grep -r 'os-release' *
debian/
debian/changelog: * Be more specific in replacing Ubuntu in /etc/os-release to prevent
debian/changelog: * Use os-release instead of ubuntukylin-release
debian/
debian/
So that package should also contain the apport setup in comment #23.
| affects: | apport (Ubuntu) → ubuntukylin-default-settings (Ubuntu) |
| Changed in ubuntukylin-default-settings (Ubuntu): | |
| assignee: | nobody → Aron Xu (happyaron) |
| Changed in ubuntukylin: | |
| assignee: | nobody → Aron Xu (happyaron) |
| Changed in ubuntukylin-default-settings (Ubuntu): | |
| status: | Triaged → In Progress |
| Changed in ubuntukylin-default-settings (Ubuntu): | |
| status: | In Progress → Fix Committed |
| status: | Fix Committed → In Progress |
| jiaowen520li (jiaowen520li) wrote : | #26 |
This bug still exists in UK15.04-
| Changed in ubuntukylin-default-settings (Ubuntu): | |
| status: | In Progress → Fix Committed |
| Changed in ubuntukylin: | |
| status: | Triaged → Fix Committed |
| Launchpad Janitor (janitor) wrote : | #27 |
This bug was fixed in the package ubuntukylin-
---------------
ubuntukylin-
* Install native origin configuration for apport (LP: #1419061)
-- Aron Xu <email address hidden> Tue, 17 Mar 2015 16:49:26 +0800
| Changed in ubuntukylin-default-settings (Ubuntu): | |
| status: | Fix Committed → Fix Released |
| Changed in ubuntukylin: | |
| status: | Fix Committed → Fix Released |


I think you need to run apt-get update, then it'll work.