Comment 11 for bug 245344

Revision history for this message
Antenore Gatta (antenore) wrote : Re: [Bug 245344] Re: Computing upgrades can take an unlimited amount of time without any user interaction

Thanks a lot for the help.

I just executed the "smart upgrade 'some packages" --urls and --stepped" and
then

smart upgrade --urls
smart upgrade --stepped

This worked like a charm

Thanks a lot again
Antenore.

On Wed, Aug 11, 2010 at 11:59 AM, Glenn D. <email address hidden> wrote:

> - upgrade to the last stable release of smart e.g
> # rpm -qa | grep -i smart- | sort
> smart-1.3-22.1.x86_64
> smart-gui-1.3-22.1.x86_64
> smart-ksmarttray-1.3-22.1.x86_64
>
> - next list all the existing channels
> # smart channel --show
>
> [kde4-latest]
> type = rpm-md
> name = kde4-latest
> baseurl =
> http://download.opensuse.org/repositories/KDE:/Distro:/Factory/openSUSE_11.3/
>
> [xine]
> type = rpm-md
> name = xine
> baseurl = /media/disk/xine-ui/rpms/
>
>
> - next exit smart
> - next backup smart metadata
> # tar -tvf /smart.tar /var/lib/smart
>
>
> - remove existing smart data and start with new metadata
> # rm -rfv /var/lib/smart
> # md /var/lib/smart
>
> - next add channel definitions to a text file e.g. channels.txt
> [kde4-latest]
> type = rpm-md
> name = kde4-latest
> baseurl =
> http://download.opensuse.org/repositories/KDE:/Distro:/Factory/openSUSE_11.3/
>
> [xine]
> type = rpm-md
> name = xine
> baseurl = /media/disk/xine-ui/rpms/
>
>
> -next add these channels to smart
>
> # cat channels.txt
> [kde4-latest]
> type = rpm-md
> name = kde4-latest
> baseurl =
> http://download.opensuse.org/repositories/KDE:/Distro:/Factory/openSUSE_11.3/
>
> [xine]
> type = rpm-md
> name = xine
> baseurl = /media/disk/xine-ui/rpms/
>
> # smart channel --add channels.txt
>
> Alias: kde4-latest
> Type: rpm-md
> Name: kde4-latest
> Base URL:
> http://download.opensuse.org/repositories/KDE:/Distro:/Factory/openSUSE_11.3/
>
> Include this channel? (y/N): y
>
>
> Alias: xine
> Type: rpm-md
> Name: xine
> Base URL: /media/disk/xine-ui/rpms/
>
> Include this channel? (y/N): y
>
> - update channels
> #smart update
>
> - list upgradeable packades
> # smart upgrade --urls
> Loading cache...
> Updating cache...
> #################################################################################################
> [100%]
>
> Computing transaction...
> /media/disk/opensuse/11.3/rpms/binutils-2.20.0-7.21.x86_64.rpm
>
> http://download.opensuse.org/repositories/KDE:/Distro:/Factory/openSUSE_11.3/x86_64/marble-4.5.0-147.1.x86_64.rpm
>
> - do upgrade
>
>
> Perhaps choose to do a few at a time
> List possible upgrades
>
> # smart upgrade '*kde*' --urls
> Loading cache...
> Updating cache...
> ##########################################################################
> [100%]
>
> Computing transaction...
>
> /media/disk/rpms/mozilla-xulrunner191-gnomevfs-1.9.1.4_1.9.1.6-2.1.2_1.1.1.x86_64.delta.rpm
> /media/disk/rpms/MozillaFirefox-3.5.4_3.5.6-1.1.2_1.1.1.x86_64.delta.rpm
> /media/disk/rpms/mozilla-xulrunner191-kde4-0.6-0.1.1.x86_64.rpm
>
> Then do the upgrade ,
> # smart upgrade '*kde*' --stepped
> Cheers
> Glenn
>
> --
> Computing upgrades can take an unlimited amount of time without any user
> interaction
> https://bugs.launchpad.net/bugs/245344
> You received this bug notification because you are subscribed to Smart
> Package Manager.
>