Show from which channel a package is selected]

Bug #245654 reported by Rehan Khan
2
Affects Status Importance Assigned to Milestone
Smart Package Manager
Fix Released
Wishlist
Unassigned

Bug Description

Imported: http://tracker.labix.org/issue94
Reason: Review Patch. Quite useful
further details: https://blueprints.launchpad.net/smart/+spec/bug-reporting-migration

msg360 (view) Author: rbos Date: 2006-02-12.09:11:05

Yes, indeed.

msg358 (view) Author: netmask Date: 2006-02-12.04:18:28

So the presented patch fulfills your needs?

msg354 (view) Author: rbos Date: 2006-02-10.21:51:29

Than forget what I stated (it's because I'm not really familiar with the
output that smart produces). If the package is in the rpmdb it is indeed
not needed to know from where they came from.

msg352 (view) Author: netmask Date: 2006-02-10.21:38:00

Could you elaborate?

The packages on "Upgrades" and "Required by" are already installed, which means
they belong to rpm-sys. Why do you need to see where they came from?

msg342 (view) Author: rbos Date: 2006-02-09.20:42:05

It's better. But now only the leading package shows the channel tags.
Depend packages do not show their channel info:

 Upgrading packages (25):
  alsa-1.0.10-0.pm.1@i586 [packman-apt]
    Upgrades:
      alsa-1.0.9-23@i586 (upgraded)
    Required By:
      alsa-tools-1.0.10-0.pm.0@i586 (installed)
      k3b-0.12.10-3.pm.0@i586 (installed)
      gthumb-2.6.8-2.guru.suse100@i686 (installed)
      alsa-devel-1.0.10-0.pm.1@i586 (installed)
      freeciv-2.0.7-1.pm.1@i586 (installed)
      alsa-firmware-1.0.10-0.pm.0@noarch (installed)
      libffmpeg0-0.4.9-4.pm.cvs20060122@i586 (installed)
      amarok-1.3.8-1.guru.suse100@i686 (installed)
      libxine1-1.1.1-0.pm.2@i586 (installed)
  alsa-devel-1.0.10-0.pm.1@i586 [packman-apt]
    Upgrades:
      alsa-devel-1.0.9-23@i586 (upgraded)
    Requires:
      alsa-1.0.10-0.pm.1@i586 (installed)

If the dependend packages show their channel as well, this would
be perfect.

msg340 (view) Author: netmask Date: 2006-02-09.01:33:35

I'm sending a patch that adds the channel information for a package while
running a transaction with "--explain".

It's just a personal test. No guarantee that it will come into Smart.

Can you please check if it's enough information for you?

msg260 (view) Author: rbos Date: 2006-01-22.20:27:39

Discussed on opensuse list.

It is not possible to determine from which (apt) components the packages
are being selected during installation or upgrade. It would be good
if this information was provided.

> > > Now from which repositories are these packages installed. With apt
> > > does can be deducted from the version number. Would smart be able to
> > > put the component name behind the rpm name?
>
> smart upgrade --urls

this does it:
linux:~ # smart install --urls gramps
Loading cache...
Updating cache...
############################################### [100%]

Computing transaction...
ftp://ftp.gwdg.de/pub/linux/misc/apt4rpm/10.0/gramps-2.0.9-0.suse1000.rb1.i586.rpm
http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.0-i386/RPMS.base/gtksourceview-1.4.1-2.i586.r

> (or)
> smart upgrade --explain

--explain does not, it would if it would include the 'alias' .
BTW: --explain is not correct. As I still don't know how it works, it's only
more verbose. So please change it into --verbose....

.....
Installed packages (8):
  gtksourceview-1.4.1-2@i586
    Required By:
      python-gnome-extras-2.11.3-3@i586 (installed)
.....

Rehan Khan (rasker)
Changed in smart:
importance: Undecided → Wishlist
Revision history for this message
Anders F Björklund (afb) wrote :

was missing the patch

Changed in smart:
milestone: none → 1.4.1
Changed in smart:
status: New → Fix Committed
Changed in smart:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.