[Bug 472067] New: option for zypper to only use local package directories
https://bugzilla.novell.com/show_bug.cgi?id=472067 Summary: option for zypper to only use local package directories Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: Other OS/Version: openSUSE 11.1 Status: NEW Severity: Enhancement Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: estellnb@gmail.com QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.10 (like Gecko) SUSE There should be an option for zypper to use local package directories only(cd/dvd, local mount points). At the moment it is necessary to wait until zypper gives up connecting to the remote repository to press [i]gnore thereupon and all of that once for each remote package directory. Reproducible: Always Steps to Reproduce: root~> zypper install gnome-terminal Download (curl) error for 'http://ftp.halifax.rwth-aachen.de/packman/suse/11.1/repodata/repomd.xml': Error code: Connection failed Error message: Couldn't resolve host 'ftp.halifax.rwth-aachen.de' Abort, retry, ignore? [A/r/i]: i Error retrieving metadata for 'Packman': Download (curl) error for 'http://ftp.halifax.rwth-aachen.de/packman/suse/11.1/repodata/repomd.xml': Error code: Connection failed Error message: Couldn't resolve host 'ftp.halifax.rwth-aachen.de' Warning: Disabling repository 'Packman' because of the above error. Download (curl) error for 'http://download.opensuse.org/distribution/11.1/repo/non-oss/content': Error code: Connection failed Error message: Couldn't resolve host 'download.opensuse.org' Abort, retry, ignore? [A/r/i]: i Error retrieving metadata for 'openSUSE-11.1-Non-Oss': Download (curl) error for 'http://download.opensuse.org/distribution/11.1/repo/non-oss/content': Error code: Connection failed Error message: Couldn't resolve host 'download.opensuse.org' Warning: Disabling repository 'openSUSE-11.1-Non-Oss' because of the above error. Download (curl) error for 'http://download.opensuse.org/distribution/11.1/repo/oss/content': Error code: Connection failed Error message: Couldn't resolve host 'download.opensuse.org' Abort, retry, ignore? [A/r/i]: i Error retrieving metadata for 'openSUSE-11.1-Oss': Download (curl) error for 'http://download.opensuse.org/distribution/11.1/repo/oss/content': Error code: Connection failed Error message: Couldn't resolve host 'download.opensuse.org' Warning: Disabling repository 'openSUSE-11.1-Oss' because of the above error. Download (curl) error for 'http://download.opensuse.org/update/11.1/repodata/repomd.xml': Error code: Connection failed Error message: Couldn't resolve host 'download.opensuse.org' Abort, retry, ignore? [A/r/i]: i Error retrieving metadata for 'openSUSE-11.1-Update': Download (curl) error for 'http://download.opensuse.org/update/11.1/repodata/repomd.xml': Error code: Connection failed Error message: Couldn't resolve host 'download.opensuse.org' Warning: Disabling repository 'openSUSE-11.1-Update' because of the above error. Loading repository data... Reading installed packages... Resolving package dependencies... The following NEW package is going to be installed: gnome-terminal Overall download size: 424.0 K. After the operation, additional 2.5 M will be used. Continue? [YES/no]: YES Retrieving package gnome-terminal-2.24.1.1-1.19.x86_64 (1/1), 424.0 K (2.5 M unpacked) Installing: gnome-terminal-2.24.1.1-1.19 [done] root:~> Expected Results: zypper in --local gnome-terminal -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=472067 User jkupec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=472067#c1 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low Status|NEW |NEEDINFO Info Provider| |estellnb@gmail.com AssignedTo|zypp-maintainers@forge.prov |jkupec@novell.com |o.novell.com | --- Comment #1 from Ján Kupec <jkupec@novell.com> 2009-02-03 11:51:14 MST --- What about bug 465223? Having that, would you still want the option? Also, there is a way to disable all remote repos (zypper mr -d --remote), but that might not be too convenient when enabling them later, if you have many repos and you don't want to enable them all. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=472067 User estellnb@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=472067#c2 --- Comment #2 from Elmar Stellnberger (AT/K) <estellnb@gmail.com> 2009-02-03 12:20:27 MST --- Haven't I already once upon a time suggested a central location to monitor internet connectivity or have I been too lazy to file a report that time? If the internet connectedness were monitored in a central place and exposed somewhere over the system-dbus interface applications would not need to test for the connectivity themselves. Concerning bug 465223 I would prefer this issue to be implemented over mine if zypper was really able to instantaneously check internet availability, because it is already monitored in the background as described in the paragraph before. Otherwise I would see bug 465223 as an additional issue. Give the user an [i]gnore-all opportunity if zypper can not connect to the first repository in the list. This will be useful if the user forgets to set the --local switch. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=472067 User estellnb@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=472067#c3 Elmar Stellnberger (AT/K) <estellnb@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|estellnb@gmail.com | --- Comment #3 from Elmar Stellnberger (AT/K) <estellnb@gmail.com> 2009-02-03 12:35:18 MST --- . -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=472067 User jkupec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=472067#c4 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Target Milestone|--- |Final --- Comment #4 from Ján Kupec <jkupec@novell.com> 2009-02-05 06:39:23 MST --- Oh my, i just realized we have such option already :O) Just type 'zypper' and look at the Repository Options, i'm sure you'll find it. So we have only bug 465223 left... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=472067 User estellnb@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=472067#c5 --- Comment #5 from Elmar Stellnberger ATK <estellnb@gmail.com> 2009-02-11 09:05:34 MST --- joop; great; I have always missed this feature in the days of OpenSuse10.3 - sorry for not looking at the doku again. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=472067 User jkupec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=472067#c6 --- Comment #6 from Ján Kupec <jkupec@novell.com> 2009-02-12 07:26:02 MST --- Even i did not realize it at first :O) But remember that it can be as simple as typing 'zypper' or 'zypper help <command>' :O) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=472067 User estellnb@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=472067#c7 Elmar Stellnberger ATK <estellnb@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #7 from Elmar Stellnberger ATK <estellnb@gmail.com> 2009-02-23 13:05:51 MST --- The --local switch is not of value for this issue; at least not in its current state of implementation. It is not yet possible to issue: zypper in --local packagename only: zypper mr -d --local but this is not what we want; zypper mr -d --remote would be required but is less desirable than enabling the local switch for the install command. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=472067 User jkupec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=472067#c8 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #8 from Ján Kupec <jkupec@novell.com> 2009-02-24 06:46:18 MST --- Seems you did not find the right option after all :O) This is what you want: $ zypper --no-remote in packagename (As i said, just type 'zypper', and you'll see the option in the Global Options listing). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=472067 User estellnb@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=472067#c9 --- Comment #9 from Elmar Stellnberger ATK <estellnb@gmail.com> 2009-02-24 08:43:54 MST --- O-o. So that is the slight difference between --local and --no-remote! Just why don't the use the same option in multiple commands? I would have expected both options to be usable as synonyms. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=472067 User jkupec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=472067#c10 --- Comment #10 from Ján Kupec <jkupec@novell.com> 2009-02-24 12:35:29 MST --- well --no-remote better describes what the option actually does - it makes zypper ignore remote repos (rather than making it use local repos). A synonym would be --local-only, not just --local. OTOH, the modifyrepo command option --local makes the command select only local repos for the operation. Also bear in mind that zypper makes difference between global options and command-specific options. The --local option is currently defined only for the mr and ms command to select the local repos for modification. Does that sound right? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=472067 User estellnb@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=472067#c11 --- Comment #11 from Elmar Stellnberger ATK <estellnb@gmail.com> 2009-02-24 14:09:41 MST --- In deed it does. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com