Slack 15 - Ignoring /etc/slackpkg/blacklist entry?
by SlackIT from LinuxQuestions.org on (#6DYRH)
Hi,
I compiled gcc 13.2.0 and installed it in /usr/local
Then I added gcc into blacklist, since slackpkg was complaining about duplicates.
This is the contents of /etc/slackpkg/blacklist;
Code:# This one will blacklist all SBo packages:
#[0-9]+_SBo
exo
ffmpeg
flac
garcon
gcc
gcc-g++
gcc-gdc
gcc-gfortran
gcc-gnat
gcc-go
gcc-objc
grub
hexchat
kid3
libproxy
libxfce4ui
libxfce4util
normalize
openvpn
pango
sane
scons
speech-dispatcher
vulkan-sdk
xfce4-dev-tools
xfce4-notifyd
xfce4-panel
xfconfWhen I run slackpkg upgrade-all it's still complaining about gcc-g++.
>slackpkg upgrade-all
Checking local integrity... DONE
You have a broken /var/log/packages/ - with multiple versions of the same package.
The list of packages duplicated in your machine is shown below:
gcc-g++-11.2.0-x86_64-2
gcc-g++-13.2.0-x86_64-1
Why isn't the blacklist entry working?
THANKS
I compiled gcc 13.2.0 and installed it in /usr/local
Then I added gcc into blacklist, since slackpkg was complaining about duplicates.
This is the contents of /etc/slackpkg/blacklist;
Code:# This one will blacklist all SBo packages:
#[0-9]+_SBo
exo
ffmpeg
flac
garcon
gcc
gcc-g++
gcc-gdc
gcc-gfortran
gcc-gnat
gcc-go
gcc-objc
grub
hexchat
kid3
libproxy
libxfce4ui
libxfce4util
normalize
openvpn
pango
sane
scons
speech-dispatcher
vulkan-sdk
xfce4-dev-tools
xfce4-notifyd
xfce4-panel
xfconfWhen I run slackpkg upgrade-all it's still complaining about gcc-g++.
>slackpkg upgrade-all
Checking local integrity... DONE
You have a broken /var/log/packages/ - with multiple versions of the same package.
The list of packages duplicated in your machine is shown below:
gcc-g++-11.2.0-x86_64-2
gcc-g++-13.2.0-x86_64-1
Why isn't the blacklist entry working?
THANKS