RFE: ls command to work without ARCH

Bug #1031762 reported by Elan Ruusamäe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
poldek
In Progress
Wishlist
Unassigned

Bug Description

poldek verify reports package names without arch, but ls command does not undertand packages when arch is missing

$ poldek --verify=deps --ignore=compat-libstdc++-* arcconf | grep error:
error: arcconf-7.0.18786-1: req libstdc++.so.5()(64bit) not found
error: arcconf-7.0.18786-1: req libstdc++.so.5(CXXABI_1.2)(64bit) not found
error: arcconf-7.0.18786-1: req libstdc++.so.5(GLIBCPP_3.2)(64bit) not found
error: arcconf-7.0.18786-1: req libstdc++.so.5(GLIBCPP_3.2.2)(64bit) not found

poldek:/all-avail> ls -s arcconf-7.0.18786-1
error: arcconf-7.0.18786-1: no such package or directory

poldek:/all-avail> ls -s arcconf-7.0.18786-1.x86_64
package source rpm
arcconf-7.0.18786-1.x86_64 arcconf-7.0.18786-1.src.rpm
1 package

poldek:/all-avail> ls -s arcconf-7.0.18786-1.*
package source rpm
arcconf-7.0.18786-1.x86_64 arcconf-7.0.18786-1.src.rpm
1 package
poldek:/all-avail>

Revision history for this message
Cactus (uzi18) wrote :
Changed in poldek:
status: New → Confirmed
status: Confirmed → In Progress
Revision history for this message
Elan Ruusamäe (glen666) wrote :

so you instead changed error output, what i really meant that it would understand both packagename-version and packagename-version.arch, like rpm does:

$ rpm -q rpm
rpm-4.5-69.i686

$ rpm -q rpm-4.5
rpm-4.5-69.i686

$ rpm -q rpm-4.5-69
rpm-4.5-69.i686

$ rpm -q rpm-4.5-69.i686
rpm-4.5-69.i686

i.e i wanted as the RFE said: "ls command to work without ARCH"

Revision history for this message
Elan Ruusamäe (glen666) wrote :

but don't remove your commit, it's more useful that way too :)

Revision history for this message
Cactus (uzi18) wrote :

for ls cmd i think about different aproch, ...

verify cmd uses exact pkg internaly so why not to show it's arch

Changed in poldek:
importance: Undecided → Wishlist
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.