You are not logged in.
Pages: 1
[zev@archlinux etc]$ ls -a
. gnutls mdadm.conf rsyncd.conf
.. gprofng.rc mke2fs.conf sddm.conf
alsa group mkinitcpio.conf sddm.conf.d
alternatives group- mkinitcpio.conf.d securetty
apt grub.d mkinitcpio.d security
arch-release gshadow ModemManager sensors3.conf
arptables.conf gshadow- modprobe.d sensors.d
audisp gtk-2.0 modules-load.d services
audit gtk-3.0 mtab shadow
avahi guix neomuttrc shadow-
bash.bash_logout healthd.conf netconfig shells
bash.bashrc host.conf NetworkManager signond.conf
bash_completion.d hostname nftables.conf skel
bindresvport.blacklist hosts nsswitch.conf slsh.rc
binfmt.d ifplugd openldap smartd.conf
bluetooth ImageMagick-7 opt ssh
ca-certificates initcpio os-release ssl
chromium inputrc ostree subgid
cifs-utils iptables ostree-mkinitcpio.conf subgid-
conf.d issue paclist subuid
credstore jack pacman.conf subuid-
credstore.encrypted kernel pacman.d sudo.conf
cryptsetup-keys.d keyutils pam.d sudoers
crypttab krb5.conf papersize sudoers.d
cups ld.so.cache paperspecs sudo_logsrvd.conf
cupshelpers ld.so.conf passwd sysctl.d
dconf ld.so.conf.d passwd- systemd
debuginfod libao.conf pipewire tmpfiles.d
default libaudit.conf pkcs11 tpm2-tss
depmod.d libblockdev plymouth ts.conf
dnf libinput polkit-1 udev
dpkg libnl ppp udisks2
e2scrub.conf libpaper.d printcap .updated
ebtables.conf libreoffice profile UPower
environment libva.conf profile.d user-tmpfiles.d
ethertypes locale.conf protocols vconsole.conf
fonts locale.gen pulse vdpau_wrapper.cfg
fpc.bak localtime .pwd.lock vimrc
fpc.cfg login.defs rc_keymaps wgetrc
fppkg logrotate.d rc_maps.cfg wpa_supplicant
fppkg.bak lynx.cfg request-key.conf X11
fppkg.cfg lynx.lss request-key.d xattr.conf
fstab machine-id resolv.conf xdg
fuse.conf makepkg.conf rhashrc xml
gai.conf makepkg.conf.d rpc
gdb makepkg.d rpm
[zev@archlinux etc]$ sudo a+wrx apt
[sudo] password for zev:
sudo: a+wrx: command not found
[zev@archlinux etc]$ sudo chmod a+wrx apt
[zev@archlinux etc]$ ls -a
. gnutls mdadm.conf rsyncd.conf
.. gprofng.rc mke2fs.conf sddm.conf
alsa group mkinitcpio.conf sddm.conf.d
alternatives group- mkinitcpio.conf.d securetty
apt grub.d mkinitcpio.d security
arch-release gshadow ModemManager sensors3.conf
arptables.conf gshadow- modprobe.d sensors.d
audisp gtk-2.0 modules-load.d services
audit gtk-3.0 mtab shadow
avahi guix neomuttrc shadow-
bash.bash_logout healthd.conf netconfig shells
bash.bashrc host.conf NetworkManager signond.conf
bash_completion.d hostname nftables.conf skel
bindresvport.blacklist hosts nsswitch.conf slsh.rc
binfmt.d ifplugd openldap smartd.conf
bluetooth ImageMagick-7 opt ssh
ca-certificates initcpio os-release ssl
chromium inputrc ostree subgid
cifs-utils iptables ostree-mkinitcpio.conf subgid-
conf.d issue paclist subuid
credstore jack pacman.conf subuid-
credstore.encrypted kernel pacman.d sudo.conf
cryptsetup-keys.d keyutils pam.d sudoers
crypttab krb5.conf papersize sudoers.d
cups ld.so.cache paperspecs sudo_logsrvd.conf
cupshelpers ld.so.conf passwd sysctl.d
dconf ld.so.conf.d passwd- systemd
debuginfod libao.conf pipewire tmpfiles.d
default libaudit.conf pkcs11 tpm2-tss
depmod.d libblockdev plymouth ts.conf
dnf libinput polkit-1 udev
dpkg libnl ppp udisks2
e2scrub.conf libpaper.d printcap .updated
ebtables.conf libreoffice profile UPower
environment libva.conf profile.d user-tmpfiles.d
ethertypes locale.conf protocols vconsole.conf
fonts locale.gen pulse vdpau_wrapper.cfg
fpc.bak localtime .pwd.lock vimrc
fpc.cfg login.defs rc_keymaps wgetrc
fppkg logrotate.d rc_maps.cfg wpa_supplicant
fppkg.bak lynx.cfg request-key.conf X11
fppkg.cfg lynx.lss request-key.d xattr.conf
fstab machine-id resolv.conf xdg
fuse.conf makepkg.conf rhashrc xml
gai.conf makepkg.conf.d rpc
gdb makepkg.d rpm
[zev@archlinux etc]$ cd apt
[zev@archlinux apt]$ ls -a
. apt.conf auth.conf.d sources.list trusted.gpg.d
.. apt.conf.d preferences.d sources.list.d
[zev@archlinux apt]$ sudo chmod a+wrx *
[zev@archlinux apt]$ ls -a
. apt.conf auth.conf.d sources.list trusted.gpg.d
.. apt.conf.d preferences.d sources.list.d
[zev@archlinux apt]$ vim sources.list
[zev@archlinux apt]$ sudo apt install ninvaders
Error: Unable to locate package ninvaders
[zev@archlinux apt]$ apt update'
> ^C
[zev@archlinux apt]$ apt update
Error: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
Error: Unable to lock directory /var/lib/apt/lists/
Warning: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
Warning: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
Notice: Some sources can be modernized. Run 'apt modernize-sources' to do so.
[zev@archlinux apt]$ sudo apt update
Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
Get:2 http://security.debian.org/debian-security trixie-security InRelease [43.4 kB]
Get:3 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
Err:2 http://security.debian.org/debian-security trixie-security InRelease
The signatures couldn't be verified because no keyring is specified
Err:1 http://deb.debian.org/debian trixie InRelease
The signatures couldn't be verified because no keyring is specified
Err:3 http://deb.debian.org/debian trixie-updates InRelease
The signatures couldn't be verified because no keyring is specified
Warning: OpenPGP signature verification failed: http://security.debian.org/debian-security trixie-security InRelease: The signatures couldn't be verified because no keyring is specified
Error: The repository 'http://security.debian.org/debian-security trixie-security InRelease' is not signed.
Notice: Updating from such a repository can't be done securely, and is therefore disabled by default.
Notice: See apt-secure(8) manpage for repository creation and user configuration details.
Warning: OpenPGP signature verification failed: http://deb.debian.org/debian trixie InRelease: The signatures couldn't be verified because no keyring is specified
Error: The repository 'http://deb.debian.org/debian trixie InRelease' is not signed.
Notice: Updating from such a repository can't be done securely, and is therefore disabled by default.
Notice: See apt-secure(8) manpage for repository creation and user configuration details.
Warning: OpenPGP signature verification failed: http://deb.debian.org/debian trixie-updates InRelease: The signatures couldn't be verified because no keyring is specified
Error: The repository 'http://deb.debian.org/debian trixie-updates InRelease' is not signed.
Notice: Updating from such a repository can't be done securely, and is therefore disabled by default.
Notice: See apt-secure(8) manpage for repository creation and user configuration details.
Notice: Some sources can be modernized. Run 'apt modernize-sources' to do so.
[zev@archlinux apt]$ sudo apt modernize-sources
The following files need modernizing:
- /etc/apt/sources.list
Modernizing will replace .list files with the new .sources format,
add Signed-By values where they can be determined automatically,
and save the old files into .list.bak files.
This command supports the 'signed-by' and 'trusted' options. If you
have specified other options inside [] brackets, please transfer them
manually to the output files; see sources.list(5) for a mapping.
For a simulation, respond N in the following prompt.
Rewrite 1 sources? [Y/n] y
Modernizing /etc/apt/sources.list...
- Writing /etc/apt/sources.list.d/moved-from-main.sources
Warning: Could not determine Signed-By for URIs: http://deb.debian.org/debian/, Suites: trixie
Warning: Could not determine Signed-By for URIs: http://security.debian.org/debian-security/, Suites: trixie-security
Warning: Could not determine Signed-By for URIs: http://deb.debian.org/debian/, Suites: trixie-updates
[zev@archlinux apt]$ sudo apt install ninvaders
Error: Unable to locate package ninvaders
[zev@archlinux apt]$ zev@archlinux Downloads]$ sudo apt install ninvaderds
Error: Unable to locate package ninvaderds
[zev@archlinux Downloads]$ sudo apt install ninvaders
Error: Unable to locate package ninvaders
[zev@archlinux Downloads]$ aura -A apt
aura :: Determining dependencies...
aura :: Repository dependencies:
apt
aura :: AUR packages:
aura :: Proceed? [Y/n] y
warning: apt-3.3.1-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) apt-3.3.1-1
Total Installed Size: 8.81 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [################################] 100%
(1/1) checking package integrity [################################] 100%
(1/1) loading package files [################################] 100%
(1/1) checking for file conflicts [################################] 100%
(1/1) checking available disk space [################################] 100%
:: Processing package changes...
(1/1) reinstalling apt [################################] 100%
:: Running post-transaction hooks...
(1/3) Creating system user accounts...
(2/3) Creating temporary files...
(3/3) Arming ConditionNeedsUpdate...
aura :: Done.
[zev@archlinux Downloads]$ sudo apt install ninvaders
Error: Unable to locate package ninvaders
[zev@archlinux Downloads]$ yum list
Unable to detect release version (use '--releasever' to specify release version)
Warning: Enforcing GPG signature check globally as per active RPM security policy (see 'gpgcheck' in dnf.conf(5) for how to squelch this message)
[zev@archlinux Downloads]$ yum list installed
Unable to detect release version (use '--releasever' to specify release version)
Warning: Enforcing GPG signature check globally as per active RPM security policy (see 'gpgcheck' in dnf.conf(5) for how to squelch this message)
[zev@archlinux Downloads]$ sudo yum list installed
Unable to detect release version (use '--releasever' to specify release version)
Warning: Enforcing GPG signature check globally as per active RPM security policy (see 'gpgcheck' in dnf.conf(5) for how to squelch this message)
[zev@archlinux Downloads]$ apt
apt 3.3.1 (amd64)
Usage: apt [options] command
apt is a commandline package manager and provides commands for
searching and managing as well as querying information about packages.
It provides the same functionality as the specialized APT tools,
like apt-get and apt-cache, but enables options more suitable for
interactive use by default.
Most used commands:
list - list packages based on package names
search - search in package descriptions
show - show package details
install - install packages
reinstall - reinstall packages
remove - remove packages
autoremove - automatically remove all unused packages
update - update list of available packages
upgrade - upgrade the system by installing/upgrading packages
full-upgrade - upgrade the system by removing/installing/upgrading packages
history-list - show list of history
history-info - show info on specific transactions
history-redo - redo transactions
history-undo - undo transactions
history-rollback - rollback transactions
edit-sources - edit the source information file
modernize-sources - modernize .list files to .sources files
satisfy - satisfy dependency strings
why - produce a reason trace for the current state of the package
why-not - produce a reason trace for the current state of the package
See apt(8) for more information about the available commands.
Configuration options and syntax is detailed in apt.conf(5).
Information about how to configure sources can be found in sources.list(5).
Package and version choices can be expressed via apt_preferences(5).
Security details are available in apt-secure(8).
This APT has Super Cow Powers.
[zev@archlinux Downloads]$ um
bash: um: command not found
[zev@archlinux Downloads]$ yum
Unable to detect release version (use '--releasever' to specify release version)
usage: yum [options] COMMAND
List of Main Commands:
alias List or create command aliases
autoremove remove all unneeded packages that were originally installed as dependencies
check check for problems in the packagedb
check-update check for available package upgrades
clean remove cached data
deplist [deprecated, use repoquery --deplist] List package's dependencies and what packages provide them
distro-sync synchronize installed packages to the latest available versions
downgrade Downgrade a package
group display, or use, the groups information
help display a helpful usage message
history display, or use, the transaction history
info display details about a package or group of packages
install install a package or packages on your system
list list a package or groups of packages
makecache generate the metadata cache
mark mark or unmark installed packages as installed by user.
module Interact with Modules. WARNING: modularity is deprecated, and functionality will be removed in a future release of DNF5.
provides find what package provides the given value
reinstall reinstall a package
remove remove a package or packages from your system
repolist display the configured software repositories
repoquery search for packages matching keyword
repository-packages run commands on top of all packages in given repository
search search package details for the given string
shell run an interactive YUM shell
swap run an interactive YUM mod for remove and install one spec
updateinfo display advisories about packages
upgrade upgrade a package or packages on your system
upgrade-minimal upgrade, but only 'newest' package match which fixes a problem that affects your system
General YUM options:
-c, --config CONFIG_FILE
config file location
-q, --quiet quiet operation
-v, --verbose verbose operation
--version show YUM version and exit
--installroot PATH set install root
--nodocs do not install documentations
--noplugins disable all plugins
--enableplugin PLUGIN
enable plugins by name
--disableplugin PLUGIN
disable plugins by name
--releasever RELEASEVER
override the value of $releasever in config and repo files
--releasever-major RELEASEVER_MAJOR
override the value of $releasever_major in config and repo files
--releasever-minor RELEASEVER_MINOR
override the value of $releasever_minor in config and repo files
--setopt SETOPTS set arbitrary config and repo options
--skip-broken resolve depsolve problems by skipping packages
-h, --help, --help-cmd
show command help
--allowerasing allow erasing of installed packages to resolve dependencies
-b, --best try the best available package versions in transactions.
--nobest do not limit the transaction to the best candidate
-C, --cacheonly run entirely from system cache, don't update cache
-R, --randomwait MINUTES
maximum command wait time
-d, --debuglevel DEBUG_LEVEL
debugging output level
--debugsolver dumps detailed solving results into files
--showduplicates show duplicates, in repos, in list/search commands
-e, --errorlevel ERRORLEVEL
error output level
--obsoletes enables yum's obsoletes processing logic for upgrade or display
capabilities that the package obsoletes for info, list and repoquery
--rpmverbosity DEBUG_LEVEL_NAME
debugging output level for rpm
-y, --assumeyes automatically answer yes for all questions
--assumeno automatically answer no for all questions
--enablerepo REPO Temporarily enable repositories for the purpose of the current dnf
command. Accepts an id, a comma-separated list of ids, or a glob of ids.
This option can be specified multiple times.
--disablerepo REPO Temporarily disable active repositories for the purpose of the current
dnf command. Accepts an id, a comma-separated list of ids, or a glob of
ids. This option can be specified multiple times, but is mutually
exclusive with `--repo`.
--repo, --repoid REPO
enable just specific repositories by an id or a glob, can be specified
multiple times
--enable enable repos with config-manager command (automatically saves)
--disable disable repos with config-manager command (automatically saves)
-x, --exclude, --excludepkgs PACKAGE
exclude packages by name or glob
--disableexcludes, --disableexcludepkgs {all, main, REPOID}
disable excludepkgs
--repofrompath REPO,PATH
label and path to an additional repository to use (same path as in a
baseurl), can be specified multiple times.
--noautoremove disable removal of dependencies that are no longer used
--nogpgcheck disable gpg signature checking (if RPM policy allows)
--color COLOR control whether color is used
--refresh set metadata as expired before running the command
-4 resolve to IPv4 addresses only
-6 resolve to IPv6 addresses only
--destdir, --downloaddir DESTDIR
set directory to copy packages to
--downloadonly only download packages
--transient Use a transient overlay which will reset on reboot
--comment COMMENT add a comment to transaction
--bugfix Include bugfix relevant packages, in updates
--enhancement Include enhancement relevant packages, in updates
--newpackage Include newpackage relevant packages, in updates
--security Include security relevant packages, in updates
--advisory, --advisories ADVISORY
Include packages needed to fix the given advisory, in updates
--bz, --bzs BUGZILLA Include packages needed to fix the given BZ, in updates
--cve, --cves CVES Include packages needed to fix the given CVE, in updates
--sec-severity, --secseverity {Critical,Important,Moderate,Low}
Include security relevant packages matching the severity, in updates
--forcearch ARCH Force the use of an architecture
[zev@archlinux Downloads]$ dnf
Unable to detect release version (use '--releasever' to specify release version)
usage: dnf [options] COMMAND
List of Main Commands:
alias List or create command aliases
autoremove remove all unneeded packages that were originally installed as dependencies
check check for problems in the packagedb
check-update check for available package upgrades
clean remove cached data
deplist [deprecated, use repoquery --deplist] List package's dependencies and what packages provide them
distro-sync synchronize installed packages to the latest available versions
downgrade Downgrade a package
group display, or use, the groups information
help display a helpful usage message
history display, or use, the transaction history
info display details about a package or group of packages
install install a package or packages on your system
list list a package or groups of packages
makecache generate the metadata cache
mark mark or unmark installed packages as installed by user.
module Interact with Modules. WARNING: modularity is deprecated, and functionality will be removed in a future release of DNF5.
provides find what package provides the given value
reinstall reinstall a package
remove remove a package or packages from your system
repolist display the configured software repositories
repoquery search for packages matching keyword
repository-packages run commands on top of all packages in given repository
search search package details for the given string
shell run an interactive DNF shell
swap run an interactive DNF mod for remove and install one spec
updateinfo display advisories about packages
upgrade upgrade a package or packages on your system
upgrade-minimal upgrade, but only 'newest' package match which fixes a problem that affects your system
General DNF options:
-c, --config CONFIG_FILE
config file location
-q, --quiet quiet operation
-v, --verbose verbose operation
--version show DNF version and exit
--installroot PATH set install root
--nodocs do not install documentations
--noplugins disable all plugins
--enableplugin PLUGIN
enable plugins by name
--disableplugin PLUGIN
disable plugins by name
--releasever RELEASEVER
override the value of $releasever in config and repo files
--releasever-major RELEASEVER_MAJOR
override the value of $releasever_major in config and repo files
--releasever-minor RELEASEVER_MINOR
override the value of $releasever_minor in config and repo files
--setopt SETOPTS set arbitrary config and repo options
--skip-broken resolve depsolve problems by skipping packages
-h, --help, --help-cmd
show command help
--allowerasing allow erasing of installed packages to resolve dependencies
-b, --best try the best available package versions in transactions.
--nobest do not limit the transaction to the best candidate
-C, --cacheonly run entirely from system cache, don't update cache
-R, --randomwait MINUTES
maximum command wait time
-d, --debuglevel DEBUG_LEVEL
debugging output level
--debugsolver dumps detailed solving results into files
--showduplicates show duplicates, in repos, in list/search commands
-e, --errorlevel ERRORLEVEL
error output level
--obsoletes enables dnf's obsoletes processing logic for upgrade or display
capabilities that the package obsoletes for info, list and repoquery
--rpmverbosity DEBUG_LEVEL_NAME
debugging output level for rpm
-y, --assumeyes automatically answer yes for all questions
--assumeno automatically answer no for all questions
--enablerepo REPO Temporarily enable repositories for the purpose of the current dnf
command. Accepts an id, a comma-separated list of ids, or a glob of ids.
This option can be specified multiple times.
--disablerepo REPO Temporarily disable active repositories for the purpose of the current
dnf command. Accepts an id, a comma-separated list of ids, or a glob of
ids. This option can be specified multiple times, but is mutually
exclusive with `--repo`.
--repo, --repoid REPO
enable just specific repositories by an id or a glob, can be specified
multiple times
--enable enable repos with config-manager command (automatically saves)
--disable disable repos with config-manager command (automatically saves)
-x, --exclude, --excludepkgs PACKAGE
exclude packages by name or glob
--disableexcludes, --disableexcludepkgs {all, main, REPOID}
disable excludepkgs
--repofrompath REPO,PATH
label and path to an additional repository to use (same path as in a
baseurl), can be specified multiple times.
--noautoremove disable removal of dependencies that are no longer used
--nogpgcheck disable gpg signature checking (if RPM policy allows)
--color COLOR control whether color is used
--refresh set metadata as expired before running the command
-4 resolve to IPv4 addresses only
-6 resolve to IPv6 addresses only
--destdir, --downloaddir DESTDIR
set directory to copy packages to
--downloadonly only download packages
--transient Use a transient overlay which will reset on reboot
--comment COMMENT add a comment to transaction
--bugfix Include bugfix relevant packages, in updates
--enhancement Include enhancement relevant packages, in updates
--newpackage Include newpackage relevant packages, in updates
--security Include security relevant packages, in updates
--advisory, --advisories ADVISORY
Include packages needed to fix the given advisory, in updates
--bz, --bzs BUGZILLA Include packages needed to fix the given BZ, in updates
--cve, --cves CVES Include packages needed to fix the given CVE, in updates
--sec-severity, --secseverity {Critical,Important,Moderate,Low}
Include security relevant packages matching the severity, in updates
--forcearch ARCH Force the use of an architecture
[zev@archlinux Downloads]$ sudo yum list installed --releasever=8.9
[sudo] password for zev:
Warning: Enforcing GPG signature check globally as per active RPM security policy (see 'gpgcheck' in dnf.conf(5) for how to squelch this message)
[zev@archlinux Downloads]$ gpgcheck
bash: gpgcheck: command not found
[zev@archlinux Downloads]$ sudo pacman -R yum
error: target not found: yum
[zev@archlinux Downloads]$ sudo yum remove apt
Unable to detect release version (use '--releasever' to specify release version)
Warning: Enforcing GPG signature check globally as per active RPM security policy (see 'gpgcheck' in dnf.conf(5) for how to squelch this message)
No match for argument: apt
No packages marked for removal.
Dependencies resolved.
Nothing to do.
Complete!
[zev@archlinux Downloads]$ sudo yum remove dnf
Unable to detect release version (use '--releasever' to specify release version)
Warning: Enforcing GPG signature check globally as per active RPM security policy (see 'gpgcheck' in dnf.conf(5) for how to squelch this message)
No match for argument: dnf
No packages marked for removal.
Dependencies resolved.
Nothing to do.
Complete!
[zev@archlinux Downloads]$ apt-get ninvaders
E: Invalid operation ninvaders
[zev@archlinux Downloads]$ apt-get install ninvaders
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
[zev@archlinux Downloads]$ sudo apt-get install ninvaders
Reading package lists... Done
Building dependency tree... Done
E: Unable to locate package ninvaders
[zev@archlinux Downloads]$ sudo pacman -S apt-get
error: target not found: apt-get
[zev@archlinux Downloads]$ aura -A apt-get
aura :: Determining dependencies...
aura :: The package apt-get does not exist.
[zev@archlinux Downloads]$ aura -A aptitude
aura :: Determining dependencies...
aura :: The package aptitude does not exist.
[zev@archlinux Downloads]$ sudo pacman -S apt
warning: apt-3.3.1-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) apt-3.3.1-1
Total Installed Size: 8.81 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [################################] 100%
(1/1) checking package integrity [################################] 100%
(1/1) loading package files [################################] 100%
(1/1) checking for file conflicts [################################] 100%
(1/1) checking available disk space [################################] 100%
:: Processing package changes...
(1/1) reinstalling apt [################################] 100%
:: Running post-transaction hooks...
(1/3) Creating system user accounts...
(2/3) Creating temporary files...
(3/3) Arming ConditionNeedsUpdate...
[zev@archlinux Downloads]$ sudo apt install ninvader
Error: Unable to locate package ninvader
[zev@archlinux Downloads]$ sudo apt install ninvaders
Error: Unable to locate package ninvaders
[zev@archlinux Downloads]$ sudo add-apt-repository main
sudo: add-apt-repository: command not found
[zev@archlinux Downloads]$ sudo apt add repository main
Error: Invalid operation add
[zev@archlinux Downloads]$ sudo apt search
Error: You must give at least one search pattern
[zev@archlinux Downloads]$ sudo apt search e
brscan-skey/now 0.3.4-0 amd64 [installed,local]
Brother Linux scanner S-KEY tool
brscan4/now 0.4.11-1 amd64 [installed,local]
Brother Scanner Driver
mfcl5850dwcupswrapper/now 3.5.1-1 i386 [installed,local]
Brother MFC-L5850DW CUPS wrapper driver
mfcl5850dwlpr/now 3.5.1-1 i386 [installed,local]
Brother MFC-L5850DW LPR driver
Warning: Could not execute pager - PagerSetup (2: No such file or directory)
[zev@archlinux Downloads]$ sudo apt search f
mfcl5850dwcupswrapper/now 3.5.1-1 i386 [installed,local]
Brother MFC-L5850DW CUPS wrapper driver
mfcl5850dwlpr/now 3.5.1-1 i386 [installed,local]
Brother MFC-L5850DW LPR driver
Warning: Could not execute pager - PagerSetup (2: No such file or directory)
[zev@archlinux Downloads]$ sudo apt search n
brscan-skey/now 0.3.4-0 amd64 [installed,local]
Brother Linux scanner S-KEY tool
brscan4/now 0.4.11-1 amd64 [installed,local]
Brother Scanner Driver
mfcl5850dwcupswrapper/now 3.5.1-1 i386 [installed,local]
Brother MFC-L5850DW CUPS wrapper driver
mfcl5850dwlpr/now 3.5.1-1 i386 [installed,local]
Brother MFC-L5850DW LPR driver
Warning: Could not execute pager - PagerSetup (2: No such file or directory)
[zev@archlinux Downloads]$ sudo apt search z
Warning: Could not execute pager - PagerSetup (2: No such file or directory)
[zev@archlinux Downloads]$ apt-get
apt 3.3.1 (amd64)
Usage: apt-get [options] command
apt-get [options] install|remove pkg1 [pkg2 ...]
apt-get [options] source pkg1 [pkg2 ...]
apt-get is a command line interface for retrieval of packages
and information about them from authenticated sources and
for installation, upgrade and removal of packages together
with their dependencies.
Most used commands:
update - Retrieve new lists of packages
upgrade - Perform an upgrade
install - Install new packages (pkg is libc6 not libc6.deb)
reinstall - Reinstall packages (pkg is libc6 not libc6.deb)
remove - Remove packages
purge - Remove packages and config files
autoremove - Remove automatically all unused packages
dist-upgrade - Distribution upgrade, see apt-get(8)
dselect-upgrade - Follow dselect selections
build-dep - Configure build-dependencies for source packages
satisfy - Satisfy dependency strings
clean - Erase downloaded archive files
autoclean - Erase old downloaded archive files
check - Verify that there are no broken dependencies
source - Download source archives
download - Download the binary package into the current directory
changelog - Download and display the changelog for the given package
See apt-get(8) for more information about the available commands.
Configuration options and syntax is detailed in apt.conf(5).
Information about how to configure sources can be found in sources.list(5).
Package and version choices can be expressed via apt_preferences(5).
Security details are available in apt-secure(8).
This APT has Super Cow Powers.
[zev@archlinux Downloads]$ apt-get install ninvaders
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
[zev@archlinux Downloads]$ sudo apt-get install ninvaders
[sudo] password for zev:
Reading package lists... Done
Building dependency tree... Done
E: Unable to locate package ninvaders
[zev@archlinux Downloads]$ sudo pacman -S dpkg
warning: dpkg-1.23.7-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) dpkg-1.23.7-1
Total Installed Size: 9.23 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [################################] 100%
(1/1) checking package integrity [################################] 100%
(1/1) loading package files [################################] 100%
(1/1) checking for file conflicts [################################] 100%
(1/1) checking available disk space [################################] 100%
:: Processing package changes...
(1/1) reinstalling dpkg [################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[zev@archlinux Downloads]$ sudo apt-get install ninvaders
Reading package lists... Done
Building dependency tree... Done
E: Unable to locate package ninvaders
[zev@archlinux Downloads]$ sudo pacman -Syu
[sudo] password for zev:
:: Synchronizing package databases...
core 126.1 KiB 1556 KiB/s 00:00 [################################] 100%
extra 8.2 MiB 10.6 MiB/s 00:01 [################################] 100%
:: Starting full system upgrade...
:: Replace dnf with extra/dnf5? [Y/n] y
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing dnf breaks dependency 'dnf' required by dnf-legacy-utils
[zev@archlinux Downloads]$ sudo pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
:: Starting full system upgrade...
:: Replace dnf with extra/dnf5? [Y/n] n
resolving dependencies...
looking for conflicting packages...
Packages (23) alsa-card-profiles-1:1.6.6-1 imath-3.2.2-6 kwin-6.6.5-3 ldb-2:4.24.3-1
libavif-1.4.2-1 libpipewire-1:1.6.6-1 libsolv-0.7.39-1 libwbclient-2:4.24.3-1
lynx-2.9.3-1 mkinitcpio-41-4 pcsclite-2.5.0-1 pipewire-1:1.6.6-1
pipewire-audio-1:1.6.6-1 pipewire-pulse-1:1.6.6-1
pipewire-session-manager-1:1.6.6-1 pulse-native-provider-1:1.6.6-1
python-platformdirs-4.10.0-1 qca-qt6-2.3.10-7 smbclient-2:4.24.3-1
systemd-260.2-2 systemd-libs-260.2-2 systemd-sysvcompat-260.2-2 zint-2.16.0-2
Total Download Size: 40.49 MiB
Total Installed Size: 156.44 MiB
Net Upgrade Size: 0.76 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
pipewire-audio-1:1.6.6-1... 1763.7 KiB 1488 KiB/s 00:01 [################################] 100%
systemd-libs-260.2-2-x86_64 1351.8 KiB 1272 KiB/s 00:01 [################################] 100%
imath-3.2.2-6-x86_64 3.9 MiB 1565 KiB/s 00:03 [################################] 100%
lynx-2.9.3-1-x86_64 1333.5 KiB 1938 KiB/s 00:01 [################################] 100%
libsolv-0.7.39-1-x86_64 911.2 KiB 1763 KiB/s 00:01 [################################] 100%
qca-qt6-2.3.10-7-x86_64 907.3 KiB 2.15 MiB/s 00:00 [################################] 100%
kwin-6.6.5-3-x86_64 10.3 MiB 2.56 MiB/s 00:04 [################################] 100%
smbclient-2:4.24.3-1-x86_64 7.3 MiB 1826 KiB/s 00:04 [################################] 100%
pipewire-1:1.6.6-1-x86_64 707.2 KiB 2.24 MiB/s 00:00 [################################] 100%
zint-2.16.0-2-x86_64 507.8 KiB 3.59 MiB/s 00:00 [################################] 100%
libpipewire-1:1.6.6-1-x86_64 509.8 KiB 2.07 MiB/s 00:00 [################################] 100%
ldb-2:4.24.3-1-x86_64 488.2 KiB 705 KiB/s 00:01 [################################] 100%
libavif-1.4.2-1-x86_64 314.7 KiB 452 KiB/s 00:01 [################################] 100%
pipewire-pulse-1:1.6.6-1... 217.8 KiB 972 KiB/s 00:00 [################################] 100%
pcsclite-2.5.0-1-x86_64 104.2 KiB 777 KiB/s 00:00 [################################] 100%
mkinitcpio-41-4-any 68.1 KiB 613 KiB/s 00:00 [################################] 100%
systemd-260.2-2-x86_64 9.8 MiB 1945 KiB/s 00:05 [################################] 100%
python-platformdirs-4.10... 48.3 KiB 721 KiB/s 00:00 [################################] 100%
alsa-card-profiles-1:1.6... 28.2 KiB 1567 KiB/s 00:00 [################################] 100%
libwbclient-2:4.24.3-1-x... 37.9 KiB 1579 KiB/s 00:00 [################################] 100%
systemd-sysvcompat-260.2... 6.3 KiB 174 KiB/s 00:00 [################################] 100%
pipewire-session-manager... 4.0 KiB 97.3 KiB/s 00:00 [################################] 100%
pulse-native-provider-1:... 4.0 KiB 99.6 KiB/s 00:00 [################################] 100%
Total (23/23) 40.5 MiB 7.70 MiB/s 00:05 [################################] 100%
(23/23) checking keys in keyring [################################] 100%
(23/23) checking package integrity [################################] 100%
(23/23) loading package files [################################] 100%
(23/23) checking for file conflicts [################################] 100%
(23/23) checking available disk space [################################] 100%
:: Processing package changes...
( 1/23) upgrading alsa-card-profiles [################################] 100%
( 2/23) upgrading imath [################################] 100%
( 3/23) upgrading libpipewire [################################] 100%
( 4/23) upgrading systemd-libs [################################] 100%
( 5/23) upgrading pipewire [################################] 100%
( 6/23) upgrading pipewire-session-manager [################################] 100%
( 7/23) upgrading qca-qt6 [################################] 100%
( 8/23) upgrading systemd [################################] 100%
( 9/23) upgrading kwin [################################] 100%
(10/23) upgrading ldb [################################] 100%
(11/23) upgrading libavif [################################] 100%
(12/23) upgrading libsolv [################################] 100%
(13/23) upgrading libwbclient [################################] 100%
(14/23) upgrading lynx [################################] 100%
(15/23) upgrading mkinitcpio [################################] 100%
(16/23) upgrading pcsclite [################################] 100%
(17/23) upgrading pipewire-audio [################################] 100%
(18/23) upgrading pipewire-pulse [################################] 100%
(19/23) upgrading pulse-native-provider [################################] 100%
(20/23) upgrading python-platformdirs [################################] 100%
(21/23) upgrading smbclient [################################] 100%
(22/23) upgrading systemd-sysvcompat [################################] 100%
(23/23) upgrading zint [################################] 100%
:: Running post-transaction hooks...
( 1/17) Creating system user accounts...
( 2/17) Creating temporary files...
( 3/17) Updating journal message catalog...
( 4/17) Updating udev hardware database...
^[[6~( 5/17) Applying kernel sysctl settings...
( 6/17) Reloading system manager configuration...
( 7/17) Reloading user manager configuration...
( 8/17) Updating the MIME type database...
^[[6~^[[6~( 9/17) Enqueuing marked services...
^[[C(10/17) Reloading device manager configuration...
^[[6~(11/17) Arming ConditionNeedsUpdate...
(12/17) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-linux -U /boot/EFI/Linux/arch-linux.efi --splash /usr/share/systemd/bootctl/splash-arch.bmp
==> Starting build: '7.0.10-arch1-1'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
^[[2~^[[C^[[A -> Running build hook: [microcode]
-> Running build hook: [modconf]
-> Running build hook: [kms]
^[[D^[[A^[[D^[[A^[[Dd^[[Cd^[[D^[[A^[[Cd^[[D^[[Cd^[[A^[[D^[[C^[[B^[[B^[[A^[[A^[[A^[[A -> Running build hook: [keyboard]
^[[A^[[A^[[A^[[A^[[A -> Running build hook: [keymap]
^[[A -> Running build hook: [consolefont]
-> Running build hook: [block]
^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A -> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image
^[[A -> Early uncompressed CPIO image generation successful
^[[A^[[A^[[A==> Initcpio image generation successful
==> Creating unified kernel image: '/boot/EFI/Linux/arch-linux.efi'
^[[A^[[A==> Unified kernel image generation successful
(13/17) Reloading system bus configuration...
(14/17) Checking for old perl modules...
(15/17) Compiling GSettings XML schema files...
(16/17) Updating icon theme caches...
(17/17) Updating the desktop file MIME type cache...
[zev@archlinux Downloads]$ sudo pacman -S apt
warning: apt-3.3.1-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) apt-3.3.1-1
Total Installed Size: 8.81 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [################################] 100%
(1/1) checking package integrity [################################] 100%
(1/1) loading package files [################################] 100%
(1/1) checking for file conflicts [################################] 100%
(1/1) checking available disk space [################################] 100%
:: Processing package changes...
(1/1) reinstalling apt [################################] 100%
:: Running post-transaction hooks...
(1/3) Creating system user accounts...
(2/3) Creating temporary files...
(3/3) Arming ConditionNeedsUpdate...
[zev@archlinux Downloads]$ apt
apt 3.3.1 (amd64)
Usage: apt [options] command
apt is a commandline package manager and provides commands for
searching and managing as well as querying information about packages.
It provides the same functionality as the specialized APT tools,
like apt-get and apt-cache, but enables options more suitable for
interactive use by default.
Most used commands:
list - list packages based on package names
search - search in package descriptions
show - show package details
install - install packages
reinstall - reinstall packages
remove - remove packages
autoremove - automatically remove all unused packages
update - update list of available packages
upgrade - upgrade the system by installing/upgrading packages
full-upgrade - upgrade the system by removing/installing/upgrading packages
history-list - show list of history
history-info - show info on specific transactions
history-redo - redo transactions
history-undo - undo transactions
history-rollback - rollback transactions
edit-sources - edit the source information file
modernize-sources - modernize .list files to .sources files
satisfy - satisfy dependency strings
why - produce a reason trace for the current state of the package
why-not - produce a reason trace for the current state of the package
See apt(8) for more information about the available commands.
Configuration options and syntax is detailed in apt.conf(5).
Information about how to configure sources can be found in sources.list(5).
Package and version choices can be expressed via apt_preferences(5).
Security details are available in apt-secure(8).
This APT has Super Cow Powers.
[zev@archlinux Downloads]$ sudo apt upgrade
Summary:
Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
[zev@archlinux Downloads]$ sudo apt update
All packages are up to date.
[zev@archlinux Downloads]$ sudo apt edit-sources
Error: Sub-process editor returned an error code (100)
[zev@archlinux Downloads]$ sudo apt edit-sources
Error: Sub-process editor returned an error code (100)
[zev@archlinux Downloads]$ So yeah i'm confused
Last edited by y8v (2026-05-29 21:17:19)
"I hate snaps because they are snaps and snaps suck"
"Also, I first joined Arch when I was 8"
Offline
The apt/dnf package installs the Debian/Fedora package manager. It can be useful for those who want to create or modify deb/rpm files, but do not use it to install Debian/Fedora packages on Arch Linux. It will break your system!
https://aur.archlinux.org/packages/ninvaders
Last edited by killertofus (2026-05-29 22:00:14)
I Have Linux Perl Can i Download Gnome???
Offline
The apt/dnf package installs the Debian/Fedora package manager. It can be useful for those who want to create or modify deb/rpm files, but do not use it to install Debian/Fedora packages on Arch Linux. It will break your system!
Oh. Also, I tried to install nivaders from AUR before but this happened:
[zev@archlinux Downloads]$ aura -A ninvaders
aura :: Determining dependencies...
aura :: AUR packages:
ninvaders
aura :: Proceed? [Y/n] y
aura :: Preparing build directories...
aura :: Building ninvaders...
==> Making package: ninvaders 0.1.1-3 (Fri 29 May 2026 06:04:52 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found ninvaders-0.1.1.tar.gz
==> Validating source files with md5sums...
ninvaders-0.1.1.tar.gz ... Passed
==> Extracting sources...
-> Extracting ninvaders-0.1.1.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
gcc -c -I. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/home/zev/.cache/aura/builds/ninvaders/src=/usr/src/debug/ninvaders -flto=auto globals.c
globals.c:44:6: error: conflicting types for ‘doSleep’; have ‘void(int)’
44 | void doSleep(int microseconds)
| ^~~~~~~
In file included from globals.c:27:
globals.h:28:13: note: previous declaration of ‘doSleep’ with type ‘void(void)’
28 | extern void doSleep();
| ^~~~~~~
globals.c: In function ‘waitForReturn’:
globals.c:86:9: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
86 | fgets(b, sizeof(b), stdin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:14: globals.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...
aura :: Package failed to build, citing:
makepkg failed.
aura :: Action cancelled.
[zev@archlinux Downloads]$ "I hate snaps because they are snaps and snaps suck"
"Also, I first joined Arch when I was 8"
Offline
I tried to install nivaders from AUR before but this happened
The package is outdated and the code doesn't conform to modern standards used by default. You can fix PKGBUILD by yourself as described in the comment.
Or install ninvaders-git. It has fixes already applied.
Offline
thanks!
"I hate snaps because they are snaps and snaps suck"
"Also, I first joined Arch when I was 8"
Offline
Pages: 1