failed upgrade stretch -> testing/buster

Help with issues regarding installation of Debian

failed upgrade stretch -> testing/buster

Postby baldyeti » 2019-01-19 11:59

hello i have tried upgrading my stretch install to buster, but have hit a snag.

I have done:

  • apt-get update && apt-get upgrade && apt-get dist-upgrade
  • updated my /etc/apt/sources.list to replace /strecth/buster/ so it looks as follows
    Code: Select all
    deb http://httpredir.debian.org/debian buster main
    deb http://security.debian.org/ buster/updates main
    deb http://deb.debian.org/debian/ buster-updates main
  • apt-get update then gives me the following error
    Code: Select all
    (appstreamcli:12420): GLib-CRITICAL **: g_variant_builder_end: assertion '!GVSB(builder)->uniform_item_types || GVSB(builder)->prev_item_type != NULL || g_variant_type_is_definite (GVSB(builder)->type)' failed

    (appstreamcli:12420): GLib-CRITICAL **: g_variant_new_variant: assertion 'value != NULL' failed

    (appstreamcli:12420): GLib-ERROR **: g_variant_new_parsed: 11-13:invalid GVariant format string
    Trace/breakpoint trap
    E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh-cache > /dev/null; fi'
    E: Sub-process returned an error code
This is a system that also had the NeptuneOS repository active so i am running KDE 5.12, but that is now disabled.

Can someone suggest a way forward ?
baldyeti
 
Posts: 8
Joined: 2013-04-23 09:33

Re: failed upgrade stretch -> testing/buster

Postby llivv » 2019-01-19 13:25

baldyeti wrote:Can someone suggest a way forward ?
longbeard wrote:backup backup backup
<<<
Last edited by llivv on 2019-01-19 13:31, edited 1 time in total.
In memory of Ian Ashley Murdock (1973 - 2015) founder of the Debian project.
User avatar
llivv
 
Posts: 5488
Joined: 2007-02-14 18:10
Location: cold storage

Re: failed upgrade stretch -> testing/buster

Postby baldyeti » 2019-01-19 13:30

I have backups. This is a partition i can easily overwrite with a copy of my "real" stretch, but where i wanted to test upgrading.
baldyeti
 
Posts: 8
Joined: 2013-04-23 09:33

Re: failed upgrade stretch -> testing/buster

Postby llivv » 2019-01-19 13:33

practice makes perfect
unlike the present condition of the dist-upgrade
In memory of Ian Ashley Murdock (1973 - 2015) founder of the Debian project.
User avatar
llivv
 
Posts: 5488
Joined: 2007-02-14 18:10
Location: cold storage

Re: failed upgrade stretch -> testing/buster

Postby Head_on_a_Stick » 2019-01-19 13:44

baldyeti wrote:This is a system that also had the NeptuneOS repository active so i am running KDE 5.12, but that is now disabled.

Disabling the repository does not remove the crap that was installed from there and that crap is what is causing you problems now, I think.

llivv wrote:<<<

+1
User avatar
Head_on_a_Stick
 
Posts: 10336
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: failed upgrade stretch -> testing/buster

Postby baldyeti » 2019-01-19 13:44

llivv wrote:unlike the present condition of the dist-upgrade

are you saying there are known problems with upgrading atm and suhggesting i retry a little later ?
is there another place (newsgroup, perhaps ?) where the matter is discussed ?
baldyeti
 
Posts: 8
Joined: 2013-04-23 09:33

Re: failed upgrade stretch -> testing/buster

Postby llivv » 2019-01-19 14:00

Head_on_a_Stick wrote:
baldyeti wrote:This is a system that also had the NeptuneOS repository active so i am running KDE 5.12, but that is now disabled.

Disabling the repository does not remove the crap that was installed from there and that crap is what is causing you problems now, I think.
+++
You can get away (once is a while) with third party stuff during a release upgrade if you know exactly what you are doing!
Upgrade stable to testing is hard enough (A T M) that seasoned users are having issues.
In memory of Ian Ashley Murdock (1973 - 2015) founder of the Debian project.
User avatar
llivv
 
Posts: 5488
Joined: 2007-02-14 18:10
Location: cold storage

Re: failed upgrade stretch -> testing/buster

Postby bw123 » 2019-01-19 14:33

So it really isn't "failed upgrade stretch -> testing/buster"

Is it another frankendebian problem? stretch+NeptuneOS > testing/buster?

Maybe start with $ apt policy *appstream* and look for clues. I don't reckon people here need to see it. If you don't need apstream pkg, do you think purging it would solve the problem maybe?

...
apt-get update && apt-get upgrade && apt-get dist-upgrade
updated my /etc/apt/sources.list to replace /strecth/buster/ so it looks as follows
...


SOunds about bassackwards to me. At what point did you remove the third party? 1st second or fourth?
User avatar
bw123
 
Posts: 3787
Joined: 2011-05-09 06:02

Re: failed upgrade stretch -> testing/buster

Postby CwF » 2019-01-19 15:31

I think apt-get update && apt-get upgrade && apt-get dist-upgrade should only be used against a SINGLE source (yours is ok) on a system built from a SINGLE source.

Use SYNAPTIC. Your current sources.list is fine. Now navigate to "installed" in synaptic and sort the column to download size. In this listing you will see 0B an maybe 1B entries which spell out what installed packages are not in the currently loaded repository. You should also configure a custom filter for orphans. By going line by line on these entries you can see what havoc, or lack of drama, each will invoke if you remove it.

Many will remove clean, some will pull in newer packages, and then create orphans. Some will try and remove the system... WORK through it.

From there, upgrade things manually in identified groups. This will bring in the current files from the selected repository. Separate programs with DE's from system things and do them in separate steps from things like kernels, systemd, dbus, boot loaders, etc.

Prioritize packages listed in "Upgradable (Upstream)" over the listed packages in the "status" tab under "Installed (Upgradable)". Upgradeable is spelled wrong...

Once that is clean, from that list of 0B stuff you took notes on, you can now add a repository and take it forward, or download the small stuff and gdebi it in to test.

Even a single repository is sometimes out of whack for a short time. Multiple equivelant repositories can remedy this situation due to apt-intelligence...not a real thing, but true. But once you add "deb http://grandmas.debian.net/debian/ buster-universe-and-beyond" to the mix that intelligence ends.
CwF
 
Posts: 388
Joined: 2018-06-20 15:16

Re: failed upgrade stretch -> testing/buster

Postby baldyeti » 2019-01-19 16:34

bw123 wrote:SOunds about bassackwards to me. At what point did you remove the third party? 1st second or fourth?

weeks ago - kde 5.12 works real fine and i was barely getting any more updates for it, so i removed the adhoc source

I know adding non-official sources is unsupported, which is why i l mentioned it in the 1st place.
Last edited by baldyeti on 2019-01-19 16:41, edited 1 time in total.
baldyeti
 
Posts: 8
Joined: 2013-04-23 09:33

Re: failed upgrade stretch -> testing/buster

Postby baldyeti » 2019-01-19 16:40

llivv wrote:Upgrade stable to testing is hard enough (A T M) that seasoned users are having issues.

Alright, that clarifies your 1st post - hence my other question: when would be a better time and is there another (sub)forum where the current state of release upgrades is more specifically discussed ?
Last edited by baldyeti on 2019-01-19 16:44, edited 1 time in total.
baldyeti
 
Posts: 8
Joined: 2013-04-23 09:33

Re: failed upgrade stretch -> testing/buster

Postby baldyeti » 2019-01-19 16:40

Thanks for all suggestions. I am in no hurry and was curious to try KDE 5.14. I will purge the system from its non-debian packages and try again but that may not be before another week or so.
baldyeti
 
Posts: 8
Joined: 2013-04-23 09:33

Re: failed upgrade stretch -> testing/buster

Postby llivv » 2019-01-19 16:47

baldyeti wrote:hello i have tried upgrading my stretch install to buster, but have hit a snag.

I have done:
  • apt-get update && apt-get upgrade && apt-get dist-upgrade
  • [...]
  • apt-get update then gives me the following error
Can someone suggest a way forward ?


Whomever rote that code snipit you used above was just a wee bit over confident in the stability of the Debian Release,
and astoundingly over confident to advise it's use in a stable to testing dis-upgrade.

It's already way to big a chunk of upgrade with gnome or kde. And even after release this forum will get tons of issues just like yours for several weeks...

I was going to suggest your try again and maybe even a few more times to get an idea how the actual process works...
Debian Questions welcome always!
In memory of Ian Ashley Murdock (1973 - 2015) founder of the Debian project.
User avatar
llivv
 
Posts: 5488
Joined: 2007-02-14 18:10
Location: cold storage

Re: failed upgrade stretch -> testing/buster

Postby sunrat » 2019-01-19 23:25

I also have a Stretch install with KDE Plasma 5.12 from Neptune OS. It works very nicely but I would never even consider that it might be upgradeable to Buster. Neptune rebuilt pretty much the whole of Plasma to achieve Stretch compatibility, so I doubt it could work for Buster.
If you just want to check out Plasma 5.14, try a fresh Buster install (or maybe pure Stretch upgrade if you're brave) or KDE Neon or siduction.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2751
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: failed upgrade stretch -> testing/buster

Postby baldyeti » 2019-01-23 17:49

Hello, after i purged the system of all neptuneOS packages, i managed to upgrade to buster, then installed kde-plasma-desktop. It wasn't all smooth sailing and i had to resort to "aptitude -f" and remove va-driver-all. Apt (and apt-get) do not complain anymore at all but for some reason aptitude keeps wanting to install "mesa-va-drivers" which fails because of some conflict with vdpau-va-driver... Oh well.This is a test install anyway.
baldyeti
 
Posts: 8
Joined: 2013-04-23 09:33

Next

Return to Installation

Who is online

Users browsing this forum: No registered users and 11 guests

fashionable