Hello: Most I use yast software manager to install/remove packages. I always set software manager to keep downloaded/installed packages. Currently I use openSUSE Leap 15.1. I found that the downloaded rpm files are installed in /var/cache/zypp/packages/<dir> where <dir> is one of openSUSE_Leap_15.1 openSUSE_Leap_15.1_1 openSUSE-Leap-15.1-1 openSUSE_Leap_15.1_10 openSUSE_Leap_15.1_11 openSUSE_Leap_15.1_2 openSUSE_Leap_15.1_3 openSUSE_Leap_15.1_4 openSUSE_Leap_15.1_5 openSUSE_Leap_15.1_6 openSUSE_Leap_15.1_7 openSUSE_Leap_15.1_8 repo-non-oss repo-oss repo-update In previous openSUSE versions these dirs were named as the repo name I gave. For example the dirs from my openSUSE 13.1 system are: arj_Sauerland devel-tools-ide_codeblocks Education Emulators KDE3 madsoft_kuickshow multimedia-apps_cdrecord openSUSE-13.1-1.10 PACKMAN Publishing QT5 repo-oss repo-update security_ike server-database For me this approach is much more logical, because I can find a given file much easier, and I know which package comes from which repo. In current 15.1 I don't know how can I find a package that comes from a given repo. Questions: - What was the rationale behind changing the name scheme? - How can I find which package comes from which repo, and in which <dir> it is saved? - Is it possible to change the configuration to set back the old behavior? Thanks, Istvan
Istvan Gabor composed on 2020-12-24 00:40 (UTC+0100):
- Is it possible to change the configuration to set back the old behavior?
Repo names, and aliases, can be whatever you please. Mine: # zypper lr ... # | Alias | Name | Enabled | GPG Check | Refresh --+--------------+--------------+---------+-----------+-------- 1 | FCL | FCL | Yes | ( p) Yes | No 2 | KDE3 | KDE3 | Yes | (r ) Yes | Yes 3 | Libdvdcss | Libdvdcss | Yes | (r ) Yes | No 4 | NonOSS | NonOSS | Yes | (r ) Yes | Yes 5 | OSS | OSS | Yes | (r ) Yes | Yes 6 | Packman | Packman | Yes | (r ) Yes | No 7 | Update | Update | Yes | (r ) Yes | Yes 8 | UpdateNonOSS | UpdateNonOSS | Yes | (r ) Yes | Yes -- Evolution as taught in public schools, like religion, is based on faith, not on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/
On 24/12/2020 00.40, Istvan Gabor wrote:
Hello:
Most I use yast software manager to install/remove packages. I always set software manager to keep downloaded/installed packages. Currently I use openSUSE Leap 15.1. I found that the downloaded rpm files are installed in /var/cache/zypp/packages/<dir> where <dir> is one of
openSUSE_Leap_15.1 openSUSE_Leap_15.1_1 openSUSE-Leap-15.1-1 openSUSE_Leap_15.1_10 openSUSE_Leap_15.1_11 openSUSE_Leap_15.1_2 openSUSE_Leap_15.1_3 openSUSE_Leap_15.1_4 openSUSE_Leap_15.1_5 openSUSE_Leap_15.1_6 openSUSE_Leap_15.1_7 openSUSE_Leap_15.1_8 repo-non-oss repo-oss repo-update
In previous openSUSE versions these dirs were named as the repo name I gave. For example the dirs from my openSUSE 13.1 system are:
Actually, not the name. They get the "alias" name. If you run "zypper lr --details" you get for each repo the name, the alias, the URL, and some more data. Well, the directory is named exactly as the alias. And you can change it. Assuming you want to change entry number 7: zypper --pkg-cache-dir /tmp/null nr 7 "Packman" The name you can change with: zypper mr --name "Packman Repository" 7 (warning: the number can change after each command). I have no idea if the number you get in your names is related to the number in the output of "zypper lr" and used in the commands above. The definitions are stored in files under /etc/zypp/repos.d/. For example, I have: Telcontar:~ # cat /etc/zypp/repos.d/EXT_Packman.repo [EXT_Packman] name=EXT: Packman Repository enabled=1 autorefresh=1 baseurl=http://packman.inode.at/suse/openSUSE_Leap_15.1/ path=/ type=rpm-md priority=95 keeppackages=1 Telcontar:~ # The alias is inside brackets, but it is also the file name; so I'm not sure that changing it directly is safe, better use the command. And no, I have no idea why you got such difficult aliases. I always sent them manually myself. When I create a repo, I do so this way: zypper ar --refresh -k -f -n "desc" "url" "alias" YaST doesn't give you access to edit the alias. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
participants (3)
-
Carlos E. R.
-
Felix Miata
-
Istvan Gabor