On Wed December 10 2008 9:01:52 am Carlos E. R. wrote:
On Wednesday, 2008-12-10 at 14:36 +0100, Erik Jakobsen wrote:
Purge, purge, purge! Clean that!
But without a running yast2, I feel it's difficult to clean it.
Ok, then zypper :-)
Run "zypper help". You'll see:
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.
Then you can try "zypper help rr" to find out if there is more help.
If running, what would you suggest to have running?
You should have only one "Main Update Repository". You can try:
zypper lr -d | less -s
which will tell you also the remote location of the repo.
I would go one step further. Remove ALL REPOS EXCEPT for the main OSS and NON-OSS repos initially.
Use:
removerepo (rr) [options]
Remove repository specified by alias, number or URI.
Note you can type 'zypper rr 1 2 3 4 ...' where the numbers are the numbers you obtained with
'zypper lr'
and represent all of the installed repos. You can then LATER add back repos such as Packman if you want/need them for anything.
Additionally, I would add my install cd as a repo. Usually it is a device: /dev/sr0 though it may be different on your machine. If push comes to shove, you can copy the contents of the CD to a local directory and use the path to that directory as a local repo. From then on, you won't have to have the CD in the drive in order to use it for new programs you may want to add. I do this in case the internet is unavailable and the OSS/NON-OSS repos can't be reached.
Once you have your system back to some sort of reasonable operation, you can resume using Yast2 if you prefer a GUI interface. In the meantime, Zypper requires much less overhead and will work even if Yast is not even on your machine as it only needs its' library and rpm (and maybe a couple of other support files) rether than the whole of KDE or GNOME required to support a GUI interface.
Richard
--
To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse+help@opensuse.org