Rodney Baker wrote:
On Thursday 20 November 2008 02:02:02 LLLActive@GMX.Net wrote:
Rodney Baker wrote:
On Tuesday 18 November 2008 19:25:07 LLLActive@GMX.Net wrote:
Hi all,
could someone tell me what the following error message means when I try to configure Online Update on an older OpenSUSE 10.3 that worked before:
Execute curl command failed with '7': curl: (7) couldn't connect to host
When I try to add a repo e.g.: http://download.opensuse.org/update/10.3/, it creates a http://download.opensuse.org/update/10.3/repodata/ link and says that it could not connect to host. I can navigate to http://download.opensuse.org/update/10.3/repodata/ with firefox and see all the patches. The mirrors like gwdg in Germany does not have 10.3 anymore?
Do we have problems with the Nürenberg/German sites again?
TIA
:-)
Al
I was having problems with this on the weekend doing an update from 10.3 to 11.0 on a running system (which was successful, in the end...); the problem was that curl was using my local squid proxy, but squid kept crashing due to zypper having filled up /var with all of the downloaded rpm's. They were already installed but the complete update process hadn't yet finished so they hadn't been removed. Took me ages to figure that one out. Once I ran "zypper clean", then restarted squid with a /var partition that had some room again, everything completed fine.
Thing is, I'm not sure where curl detects its proxy settings from. With Firefox set to connect directly with no proxy I was also able to browse the repositories online (which only served to confirm that the problem was indeed at my end...).
YMMV.
Cheers, Rodney.
sudo "zypper clean" root's password: sudo: zypper clean: command not found
I see no "clean" switch for with zypper -h
I have "zypper-0.8.26.0.1.x86_64-suse-linux" and "Linux Server1 2.6.22.19-0.1-default #1 SMP 2008-10-14 22:17:43 +0200 x86_64 x86_64 x86_64 GNU/Linux"
I deleted all the repos with yast, but cannot add them any more, not even the "community repos"
TIA
:-)
To add a repository with zypper do:
zypper ar
It is easier if you log in as root or use 'su -' (no quotes, then enter root's password) to get a root shell rather than using sudo. If you use sudo don't put quotes around the subsequent command and parameters.
Here is what I get when I run zypper -h...
bakerr@mako:~> zypper -h Usage: zypper [--global-options] <command> [--command-options] [arguments]
Global Options: --help, -h Help. --version, -V Output the version number. --quiet, -q Suppress normal output, print only error messages. --verbose, -v Increase verbosity. --no-abbrev, -A Do not abbreviate text in tables. --table-style, -s Table style (integer). --rug-compatible, -r Turn on rug compatibility. --non-interactive, -n Do not ask anything, use default answers automatically. --xmlout, -x Switch to XML output. --reposd-dir, -D <dir> Use alternative repository definition files directory. --cache-dir, -C <dir> Use alternative meta-data cache database directory. --raw-cache-dir <dir> Use alternative raw meta-data cache directory.
Repository Options: --no-gpg-checks Ignore GPG check failures and continue. --plus-repo, -p <URI> Use an additional repository. --disable-repositories Do not read meta-data from repositories. --no-refresh Do not refresh the repositories.
Target Options: --root, -R <dir> Operate on a different root directory. --disable-system-resolvables Do not read installed resolvables.
Commands: help, ? Print help. shell, sh Accept multiple commands at once.
Repository Handling: repos, lr List all defined repositories. addrepo, ar Add a new repository. removerepo, rr Remove specified repository. renamerepo, nr Rename specified repository. modifyrepo, mr Modify specified repository. refresh, ref Refresh all repositories. clean Clean local caches.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Software Management: install, in Install packages. remove, rm Remove packages. verify, ve Verify integrity of package dependencies. update, up Update installed packages with newer versions. dist-upgrade, dup Perform a distribution upgrade. source-install, si Install source packages and their build dependencies.
Querying: search, se Search for packages matching a pattern. info, if Show full information for specified packages. patch-info Show full information for specified patches. pattern-info Show full information for specified patterns. product-info Show full information for specified products. patch-check, pchk Check for patches. list-updates, lu List available updates. patches, pch List all available patches. packages, pa List all available packages. patterns, pt List all available patterns. products, pd List all available products. what-provides, wp List packages providing specified capability.
Package Locks: addlock, al Add a package lock. removelock, rl Remove a package lock. locks, ll List current package locks.
Regards,
Then I have serious zypper problems. My zypper (zypper-0.8.26.0.1.x86_64-suse-linux) gives (logged in as root): zypper -h Options: --help, -h Help. --version, -V Output the version number. --quiet, -q Suppress normal output, print only error messages. --verbose, -v Increase verbosity. --terse, -t Terse output for machine consumption. --table-style, -s Table style (integer). --rug-compatible, -r Turn on rug compatibility. --non-interactive, -n Don't ask anything, use default answers automatically. --no-gpg-checks Ignore GPG check failures and continue. --root, -R <dir> Operate on a different root directory. Commands: help, ? Help shell, sh Accept multiple commands at once install, in Install packages or resolvables remove, rm Remove packages or resolvables search, se Search for packages matching a pattern repos, lr List all defined repositories. addrepo, ar Add a new repository removerepo, rr Remove specified repository renamerepo, nr Rename specified repository modifyrepo, mr Modify specified repository refresh, ref Refresh all repositories patch-check, pchk Check for patches patches, pch List patches list-updates, lu List updates xml-updates, xu List updates and patches in xml format update, up Update installed resolvables with newer versions. info, if Show full information for packages patch-info Show full information for patches source-install, si Install a source package NO 'clean' here. :-) Al -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org