Get an error with the command:
yum-config-manager --enable clearos-developer,clearos-centos,clearos-centos-updates,clearos-epel
yum-config-manager: Command not found.
I first did:
sudo swp bundle-add koji
but andy command with "yum" I get the error
Error accessing file for config file:///etc/yum.conf
There is no yum.conf file
yum-config-manager --enable clearos-developer,clearos-centos,clearos-centos-updates,clearos-epel
yum-config-manager: Command not found.
I first did:
sudo swp bundle-add koji
but andy command with "yum" I get the error
Error accessing file for config file:///etc/yum.conf
There is no yum.conf file
Share this post:
Responses (8)
-
Accepted Answer
-
Accepted Answer
I have no idea how that could have disappeared. You could try restoring a config backup from the last 10 days from Webconfig > System > Backup > Configuration Backup and Restore
or you can extract the file from the backups in /var/clearos/configuration_backup.
If that does not help, mine is:[main]
http_caching=packages
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=5
# This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
# It is esp. important, to have correct metadata, for distributions like
# Fedora which don't keep old packages around. If you don't like this checking
# interupting your command line usage, it's much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
I was able to use the following to install uuid and gcab
# install uuid
sudo swupd bundle-add devpkg-util-linux
# install gcab
sudo swupd bundle-add devpkg-gcab
The following is helpful: https://clearlinux.org/software then use the search to find what you are looking for -
Accepted Answer
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »