Bug 1214001 - Checking repository conformance
Summary: Checking repository conformance
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Documentation (show other bugs)
Version: Leap 15.4
Hardware: Other Other
: P5 - None : Enhancement (vote)
Target Milestone: ---
Assignee: Frank Sundermeyer
QA Contact: Frank Sundermeyer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-04 19:33 UTC by Ulrich Windl
Modified: 2023-09-13 07:29 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Windl 2023-08-04 19:33:50 UTC
In https://en.opensuse.org/SDB:System_upgrade_to_Leap_15.5 scrtion "5. Update the repos" the command recommended is:
grep baseurl /etc/zypp/repos.d/*.repo

However the output is lengthy and hard for humans to read, like this:
/etc/zypp/repos.d/ftp.gwdg.de-openSUSE_Leap_$releasever.repo:baseurl=http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_$releasever/
/etc/zypp/repos.d/repo-backports-debug-update.repo:baseurl=http://download.opensuse.org/update/leap/$releasever/backports_debug/
...

Wouldn't it be easier for humans to use this command instead?:
grep baseurl /etc/zypp/repos.d/*.repo | grep -v releasever

For my system the only line output was:
/etc/zypp/repos.d/Repository_1.repo:baseurl=hd:/?device=/dev/disk/by-id/usb-SanDisk_Ultra_04015fec...342821ec-0:0-part2&filesystem=auto