If you're seeing an error similar to the following:
]# yum --disableexcludes=all --enablerepo=tortix-kernel upgrade kernel
Loaded plugins: fastestmirror
Setting up Upgrade Process
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist file:///etc/asl/tortix-kernel-mirrorlist error was
14: Could not open/read file:///etc/asl/tortix-kernel-mirrorlist
Error: Cannot find a valid baseurl for repo: tortix-kernel
The most likely cause is that you have the Kernel Channel disabled, and update type set to exclude kernel. This can be verified with:
cat /etc/asl/config
You'll be looking for "KERNEL_CHANNEL="disabled" and UPDATE_TYPE="exclude-kernel" under the Genera Configuration like so:
# ASL general configuration.
NOTIFY="yes"
EMAIL="your_email@email.com"
HOSTNAME="youserver.com"
ADMIN_USERS=""
SYSTEM_TYPE="webserver"
AUTOMATIC_UPDATES="daily"
UPDATE_TYPE="exclude-kernel"
RESTART_APACHE="graceful"
ASL_USER="tortix"
FEED_TYPE="real-time"
FEED_SOURCE=""
COMPLIANCE="off"
KERNEL_CHANNEL="disabled"
ALLOW_NFS="no"
DOWNLOADER="internal"
REPUTATION_REPORT="yes"
REPUTATION_FREQUENCY="daily"
PURGE_LOGS="no"
If you see this, all you need to do is simply change "UPDATE_TYPE ="exclude-kernel" to "UPDATE_TYPE="all" and KERNEL_CHANNEL="disabled" to "KERNEL_CHANNEL="tortix-kernel"
There are three methods to change this.
Method 1:
1) Log into your AWP GUI at: https://x.x.x.x:30000 (where x.x.x.x is your servers IP).
2) Navigate to the configuration page. In the AWP 5x branch, this is a tab at the top. In the AWP6 branch, this is on the menu at the side.
3) Click on "General"
4) Scroll to "UPDATE_TYPE" and select "all"
5) Scroll to "KERNEL_CHANNEL" and select "tortix-kernel"
6) Save, then run asl -s -f and aum -uf
Method 2:
1) Run the AWP configuration again with the command: asl -c
2) For "UPDTE_TYPE" type in "all" and for the kernel updates make sure it says "tortix-kernel"
Method 3:
1) Open your AWP config: vi /etc/asl/config
2) Go down to "UPDATE_TYPE="exclude-kernel" and replace the "exclude-kernel" entry with "all"
3) Go down to "KERNEL_CHANNEL="disabled" and change "disabled" to "tortix-kernel"
4) Save your changes and exit the open config file.
5) Run asl -s -f followed by aum -uf
Comments
0 comments
Please sign in to leave a comment.