Comments (4)
Install_PackageKit(){
echo "$echo_prefix_cockpit Install PackageKit(pkcon) and Cockpit repository"
if command -v pkcon &> /dev/null; then
echo "pkcon is at your system ..."
elif command -v yum &> /dev/null; then
if [ "$(cat /etc/redhat-release)" = "Redhat7" ]; then
sudo subscription-manager repos --enable rhel-7-server-extras-rpms
fi
sudo yum install PackageKit -y
elif command -v dnf &> /dev/null; then
sudo dnf install PackageKit -y
elif command -v apt &> /dev/null; then
sudo apt update
sudo apt install packagekit -y
else
echo "PackageKit not found, Cockpit cannot be installed"
exit 1
fi
}
Disable_PackageKit(){
echo "$echo_prefix_cockpit disable PackageKit(pkcon)"
if command -v pkcon &> /dev/null; then
echo "pkcon is at your system ..."
sudo systemctl stop packagekit
sudo systemctl disable packagekit
fi
}
from websoft9.
systemctl disable packagekit
The unit files have no installation config (WantedBy=, RequiredBy=, Also=,
Alias= settings in the [Install] section, and DefaultInstance= for template
units). This means they are not meant to be enabled or disabled using systemctl.
Possible reasons for having this kind of units are:
• A unit may be statically enabled by being symlinked from another unit's
.wants/ or .requires/ directory.
• A unit's purpose may be to act as a helper for some other unit which has
a requirement dependency on it.
• A unit may be started when needed via activation (socket, path, timer,
D-Bus, udev, scripted systemctl call, ...).
• In case of template units, the unit is meant to be enabled with some
instance name specified.
from websoft9.
$ systemctl cat packagekit
# /usr/lib/systemd/system/packagekit.service
[Unit]
Description=PackageKit Daemon
# PK doesn't know how to do anything on ostree-managed systems;
# currently the design is to have dedicated daemons like
# eos-updater and rpm-ostree, and gnome-software talks to those.
ConditionPathExists=!/run/ostree-booted
[Service]
Type=dbus
BusName=org.freedesktop.PackageKit
User=root
ExecStart=/usr/libexec/packagekitd
from websoft9.
sudo systemctl mask packagekit
[root@iZj6c0jy2125g4pwih13f9Z ~]# systemctl status packagekit
○ packagekit.service
Loaded: masked (Reason: Unit packagekit.service is masked.)
Active: inactive (dead)
from websoft9.
Related Issues (20)
- add env for apphub docker image
- 全新安装成功后显示Error : Network Error HOT 5
- proxy bind IP will make websoft9 plugin error?
- can not upgrade by install.sh on aliyun on ubuntu22.04 at hongkong
- offline install solution for Websoft9
- add systemctl enable cockpit at install HOT 1
- disable terminal copy and paste limit
- Proxy application for SSL certificate email address customization
- How to use dns in nginxproxymanage
- add softlink for /var/lib/docker/volumes HOT 1
- add W9_RCODE to .env when create application HOT 1
- Nginx Proxy Separation for application and websoft9 service
- add domain and set https for Cocipit
- installing app cannot cancle
- Duvida HOT 2
- password or key management
- websoft9 refer to real mail [email protected] risk HOT 1
- websoft9 docker compose lable error on Docker Compose version v2.24.1 HOT 1
- customer install websoft9 failed on debian12 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from websoft9.