Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
SME Server:Documentation:Technical Manual:Chapter6
(view source)
Revision as of 14:30, 9 April 2007
828 bytes added
,
14:30, 9 April 2007
Restoring Default Yum Repositories
Line 44:
Line 44:
If a site has a RPM-GPG-KEY you have to install it first with a line such as.
If a site has a RPM-GPG-KEY you have to install it first with a line such as.
rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
+
+
+
====Restoring Default Yum Repositories====
+
+
If you have problems with your yum setup you may have entered dud repository values
+
+
remove the current values and restore the original setting with these commands
+
+
cd /home/e-smith/db/
+
mv yum_repositories yum_repositories.po
+
/etc/e-smith/events/actions/initialize-default-databases
+
+
Output is <br>
+
<snip><br>
+
Migrating existing database yum_available<br>
+
Migrating existing database yum_installed<br>
+
Creating database yum_repositories and setting defaults<br>
+
+
[root@kiwi db]# ls -la yum_repositories*<br>
+
-rw-r----- 1 root admin 3207 Apr 9 00:13 yum_repositories<br>
+
-rw-r----- 1 root admin 4837 Apr 7 19:01 yum_repositories.po<br>
+
+
this shows i had other repo's setup<br>
+
but now have a clean set of db values<br>
+
+
expand-template /etc/yum.conf
+
+
and check
+
+
yum update
===Using RPMs===
===Using RPMs===
Snoble
Administrators
2,569
edits
Navigation menu
Personal tools
Log in
Namespaces
Project page
Discussion
Variants
Views
Read
View source
View history
More
Search
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version