trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: December 2014

Re: [trinity-devel] Package renames and autoremove

From: Slávek Banko <slavek.banko@...>
Date: Thu, 25 Dec 2014 20:26:49 +0100
On Tuesday 23 of December 2014 09:11:53 Michele Calgaro wrote:
> On 2014/12/22 07:26 PM, Slávek Banko wrote:
> > On Monday 22 of December 2014 11:06:20 Michele Calgaro wrote:
> >> Looks like the mirror is now fully working, since it takes less
> >> than 30 minutes to do a fully upgrade. So I have tested sevaral
> >> ways to upgrade from a standard 3.5.13.2 install to 14.0.0. The
> >> sequence suggested by Mike seems to be the most
> >> reliable/reproducable, but with some tweeks. 1) apt-get update 2)
> >> apt-get install tde-trinity. This fails at some point. 3) apt-get
> >> -f install. This succeeded, but trying to login after this stage
> >> gives the error "Could not start kstartupconfig...." 4) apt-get
> >> dist-upgrade After this stage, I have a fully working TDE R14.0.0
> >> system. Running aptitude in CLI mode and pressing 'g', comes up
> >> with a list of packages that can be deleted. This at times is
> >> most of the TDE installation. To fix this do the following. 5)
> >> run 'aptitude', search tde-trinity (which should be shown as
> >> *un*installed, mark as 'to install' and 'g'. This will make
> >> R14.0.0 stick in your system 6) running 'aptitude' and pressing
> >> 'g' again, comes up with a list of packages that can be deleted.
> >> Proceed.
> >>
> >> I have noticed over several upgrade runs, that the list of
> >> packages that can be deleted is not always the same, not sure why
> >> although some of the upgrade run were interrupted/resumed several
> >> times due to the slow download bandwidth of previous days. It
> >> seems that dummy packages have to be manually removed. dpkg -l |
> >> grep -i dummy gives a list of such packages.
> >>
> >> I will modify the installation instructions adding an "Update
> >> from 3.5.13.2" section to it. If you have any specific comments
> >> that you would like to add to the above, please let me know (once
> >> again :-) )
> >>
> >> Cheers Michele
> >
> > I must again point out - if the user perform a manual selection of
>
> packages to
>
> > install, the process containing "apt-get install tde-trinity" is
> > not
>
> an just
>
> > upgrade, but will install many other packages. Moreover, as you
>
> mention, this
>
> > step fails. That does not sound like a good way to upgrade.
> >
> > Please, test this simple procedure:
> >
> > 1) apt-get update 2) aptitude dist-upgrade
> >
> > As I've mentioned many times before, this procedure on all my test
>
> machines
>
> > ran smoothly - without any hitch - and it's "really just upgrade".
>
> Slavek,
> I tested your way and the upgrade goes smooth. Nevertheless after the
> process is completed a lot of dummy packages are still installed. Using
> the following procedure gets rid of those dummy packages and leaves a
> clean upgrade.
>
> 1) apt-get update

No problems.

> 2) aptitude dist-upgrade

96 packages upgraded, 64 newly installed, 15 to remove and 0 not upgraded.
Need to get 147 MB of archives. After unpacking 63.7 MB will be used.

No problems.

> 3) aptitude install tde-trinity   -> then choose to resolve the conflict
> by removing kde-trinity and kde-core-trinity

0 packages upgraded, 406 newly installed, 0 to remove and 0 not upgraded.
Need to get 231 MB of archives. After unpacking 626 MB will be used.

Oops, that's a bit much.

I think we could recommend something like this:

If you had installed metapackage kde-trinity, kde-core-trinity or 
kde-devel-trinity, these are not updated automatically. For the update is 
necessary to use one of the following:

  aptitude install tde-trinity
  aptitude install tde-core-trinity
  aptitude install tde-devel-trinity


As I watched, there are several transitional dummy packages which would still 
have had to be removed manually. For example kde-i18n-*, kio-locate, 
kradio,... For such I would suggest the following:

4) Run aptitude in interactive mode, enter Limit Display '~i-trinity~ddummy" 
and manually check and delete unneeded packages.

>
> Can you test on your machines as well and let me know? If confirmed, I
> will update the installation instructions.
> Cheers
>   Michele
>
-- 
Slávek