sudo: apt-get: command not found

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
eliasmansilla
Level 1
Level 1
Posts: 10
Joined: Wed Jun 24, 2020 1:21 am

sudo: apt-get: command not found

Post by eliasmansilla »

eliasmansilla@noah:~/Downloads$ sudo apt-get update
/usr/bin/apt-get: 1: /usr/bin/apt-get: �: not found
/usr/bin/apt-get: 1: /usr/bin/apt-get: �@8: not found
/usr/bin/apt-get: 1: /usr/bin/apt-get: ELF: not found
/usr/bin/apt-get: 15: /usr/bin/apt-get: Syntax error: "(" unexpected
eliasmansilla@noah:~/Downloads$
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
erginemr

Re: sudo: apt-get: command not found

Post by erginemr »

It seems as if your locale settings (keyboard encoding) interferes with the command and sends strange characters to the apt-get command.

To begin with, to make sure apt-get has not been deleted unintentionally, can you post the outcome of these:

Code: Select all

which apt-get
which apt
And what is your keyboard layout:

Code: Select all

setxkbmap -query | grep layout
Or if this doesn't work as expected (due to the above issue), you can check from "Menu > Pref > Keyboard > Layout".
eliasmansilla
Level 1
Level 1
Posts: 10
Joined: Wed Jun 24, 2020 1:21 am

Re: sudo: apt-get: command not found

Post by eliasmansilla »

eliasmansilla@noah:~$ which apt-get
/usr/bin/apt-get
eliasmansilla@noah:~$ which apt
/usr/bin/apt
eliasmansilla@noah:~$ setxkbmap -query | grep layout
layout: latam
rene
Level 20
Level 20
Posts: 12212
Joined: Sun Mar 27, 2016 6:58 pm

Re: sudo: apt-get: command not found

Post by rene »

Almost in bed, but I believe something more serious is going on here: it seems OP's system is interpreting the binary (i.e., an ELF-executable) as a shell script or at least, does not recognize apt-get as an ELF-binary. AFAIA a bona fide ELF-binary should start with 0x7F, 'ELF' and indeed his/hers doesn't seem to. Reparring that is also going to be non-trivial what with apt-get itself affected and I should as said not be here currently, but just as a heads-up: this looks more involved...
Moonstone Man
Level 16
Level 16
Posts: 6054
Joined: Mon Aug 27, 2012 10:17 pm

Re: sudo: apt-get: command not found

Post by Moonstone Man »

eliasmansilla wrote: Wed Jun 24, 2020 5:20 am

Code: Select all

eliasmansilla@noah:~/Downloads$ sudo apt-get update
/usr/bin/apt-get: 1: /usr/bin/apt-get: �: not found
/usr/bin/apt-get: 1: /usr/bin/apt-get: �@8: not found
/usr/bin/apt-get: 1: /usr/bin/apt-get: ELF: not found
/usr/bin/apt-get: 15: /usr/bin/apt-get: Syntax error: "(" unexpected
eliasmansilla@noah:~/Downloads$
Your system is corrupted, and with corruption there's no telling what else may be damaged. You ought to consider backing up your important files before deciding to restore your system from a backup or deciding if a clean install is warranted.
eliasmansilla
Level 1
Level 1
Posts: 10
Joined: Wed Jun 24, 2020 1:21 am

Re: sudo: apt-get: command not found

Post by eliasmansilla »

This happened to me when I wanted to install opera-stable_68.0.3618.125_amd64.deb and code_1.46.0-1591780013_amd64.deb, it didn't install, it gave me error and after that apt-get doesn't work anymore.

eliasmansilla@noah:~$ inxi -Fxnzr
System:
Host: noah Kernel: 5.3.0-59-generic i686 bits: 32 compiler: gcc v: 7.5.0
Desktop: Cinnamon 4.4.8 Distro: Linux Mint 19.3 Tricia
base: Ubuntu 18.04 LTS Bionic
Machine:
Type: Desktop Mobo: Gigabyte model: H55M-USB3 v: x.x serial: <filter>
BIOS: Award v: F11 date: 11/01/2010
CPU:
Topology: Dual Core model: Intel Core i3 530 bits: 64 type: MT MCP
arch: Nehalem rev: 2 L2 cache: 4096 KiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 23466
Speed: 1467 MHz min/max: 1197/2926 MHz Core speeds (MHz): 1: 1466 2: 1467
3: 1467 4: 1467
Graphics:
Device-1: Intel Core Processor Integrated Graphics vendor: Gigabyte
driver: i915 v: kernel bus ID: 00:02.0
Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa
resolution: 1280x1024~60Hz
OpenGL: renderer: Mesa DRI Intel Ironlake Desktop x86/MMX/SSE2
v: 2.1 Mesa 19.2.8 direct render: Yes
Audio:
Device-1: Intel 5 Series/3400 Series High Definition Audio
vendor: Gigabyte driver: snd_hda_intel v: kernel bus ID: 00:1b.0
Sound Server: ALSA v: k5.3.0-59-generic
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Gigabyte driver: r8169 v: kernel port: ee00 bus ID: 03:00.0
IF: enp3s0 state: down mac: <filter>
Device-2: Qualcomm Atheros AR5212/5213/2414 Wireless Network Adapter
driver: ath5k v: kernel port: ee00 bus ID: 04:01.0
IF: wlp4s1 state: up mac: <filter>
Drives:
Local Storage: total: 3.48 TiB used: 112.20 GiB (3.2%)
ID-1: /dev/sda vendor: Western Digital model: WD2500BEVT-75ZCT2
size: 232.89 GiB temp: 29 C
ID-2: /dev/sdb vendor: Western Digital model: WD2500BEKT-00PVMT0
size: 232.89 GiB temp: 24 C
ID-3: /dev/sdc vendor: HGST (Hitachi) model: HTS545032A7E380
size: 298.09 GiB temp: 24 C
ID-4: /dev/sdg vendor: Seagate model: ST9500325ASG size: 465.76 GiB
temp: 23 C
ID-5: /dev/sdh vendor: Western Digital model: WD5000LPVT-00G33T0
size: 465.76 GiB temp: 24 C
ID-6: /dev/sdi vendor: Western Digital model: WD10EARS-00Y5B1
size: 931.51 GiB temp: 30 C
ID-7: /dev/sdj vendor: Western Digital model: WD1002FAEX-007BA0
size: 931.51 GiB temp: 34 C
Partition:
ID-1: / size: 136.59 GiB used: 112.20 GiB (82.1%) fs: ext4 dev: /dev/sdb1
Sensors:
System Temperatures: cpu: 29.0 C mobo: N/A
Fan Speeds (RPM): N/A
Repos:
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb http://packages.linuxmint.com tricia main upstream import backport
2: deb http://archive.ubuntu.com/ubuntu bionic main restricted universe multiverse
3: deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse
4: deb http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse
5: deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
6: deb http://archive.canonical.com/ubuntu/ bionic partner
Active apt repos in: /etc/apt/sources.list.d/official-source-repositories.list
1: deb-src http://packages.linuxmint.com tricia main upstream import backport
2: deb-src http://archive.ubuntu.com/ubuntu bionic main restricted universe multiverse
3: deb-src http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse
4: deb-src http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse
5: deb-src http://security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
6: deb-src http://archive.canonical.com/ubuntu/ bionic partner
Active apt repos in: /etc/apt/sources.list.d/ubuntu-desktop-ubuntu-make-bionic.list
1: deb http://ppa.launchpad.net/ubuntu-desktop ... ake/ubuntu bionic main
2: deb-src http://ppa.launchpad.net/ubuntu-desktop ... ake/ubuntu bionic main
Active apt repos in: /etc/apt/sources.list.d/webupd8team-y-ppa-manager-bionic.list
1: deb http://ppa.launchpad.net/webupd8team/y- ... ger/ubuntu bionic main
Info:
Processes: 272 Uptime: 2h 20m Memory: 5.58 GiB used: 1.99 GiB (35.6%)
Init: systemd runlevel: 5 Compilers: gcc: 7.5.0 Shell: bash v: 4.4.20
inxi: 3.0.32
Last edited by eliasmansilla on Wed Jun 24, 2020 8:43 pm, edited 1 time in total.
eliasmansilla
Level 1
Level 1
Posts: 10
Joined: Wed Jun 24, 2020 1:21 am

Re: sudo: apt-get: command not found

Post by eliasmansilla »

this is all I could investigate. I hope you can help me:

eliasmansilla@noah:~$ dpkg --list apt*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii apt:amd64 1.6.12ubuntu amd64 commandline package manager
ii apt-clone 0.4.1ubuntu2 all Script to create state bundles
un apt-config-ico <none> <none> (no description available)
un apt-doc <none> <none> (no description available)
un apt-forktracer <none> <none> (no description available)
un apt-listchange <none> <none> (no description available)
un apt-p2p <none> <none> (no description available)
un apt-transport- <none> <none> (no description available)
un apt-utils <none> <none> (no description available)
un apt-xapian-ind <none> <none> (no description available)
ii aptdaemon 1.1.1+bzr982 all transaction based package managem
ii aptdaemon-data 1.1.1+bzr982 all data files for clients
ii aptitude 0.8.10-6ubun i386 terminal-based package manager
ii aptitude-commo 0.8.10-6ubun all architecture independent files fo
un aptitude-doc <none> <none> (no description available)
un aptitude-doc-e <none> <none> (no description available)
un aptoncd <none> <none> (no description available)


eliasmansilla@noah:~$ cat /var/log/apt/history.log | grep remove
Commandline: /usr/bin/apt-get autoremove --purge -y


eliasmansilla@noah:~$ apt-get --version
bash: /usr/bin/apt-get: cannot execute binary file: Exec format error

eliasmansilla@noah:~$ ls -l /usr/bin/apt-get
-rwxr-xr-x 1 root root 43168 May 12 15:03 /usr/bin/apt-get

eliasmansilla@noah:~$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games

eliasmansilla@noah:~$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games

eliasmansilla@noah:~$ ls -l /etc/apt/preferences /etc/apt/preferences.d
ls: cannot access '/etc/apt/preferences': No such file or directory
/etc/apt/preferences.d:
total 4
-rw-r--r-- 1 root root 218 Dec 21 2019 official-package-repositories.pref

eliasmansilla@noah:~$ ls -l /usr/lib/apt/methods
total 764
-rwxr-xr-x 1 root root 55456 May 12 15:03 cdrom
-rwxr-xr-x 1 root root 39072 May 12 15:03 copy
-rwxr-xr-x 1 root root 39072 May 12 15:03 file
-rwxr-xr-x 1 root root 121088 May 12 15:03 ftp
-rwxr-xr-x 1 root root 75936 May 12 15:03 gpgv
-rwxr-xr-x 1 root root 170152 May 12 15:03 http
lrwxrwxrwx 1 root root 4 May 12 15:03 https -> http
-rwxr-xr-x 1 root root 100512 May 12 15:03 mirror
lrwxrwxrwx 1 root root 6 May 12 15:03 mirror+copy -> mirror
lrwxrwxrwx 1 root root 6 May 12 15:03 mirror+file -> mirror
lrwxrwxrwx 1 root root 6 May 12 15:03 mirror+ftp -> mirror
lrwxrwxrwx 1 root root 6 May 12 15:03 mirror+http -> mirror
lrwxrwxrwx 1 root root 6 May 12 15:03 mirror+https -> mirror
-rwxr-xr-x 1 root root 67744 May 12 15:03 rred
-rwxr-xr-x 1 root root 51376 May 12 15:03 rsh
lrwxrwxrwx 1 root root 3 May 12 15:03 ssh -> rsh
-rwxr-xr-x 1 root root 43168 May 12 15:03 store
eliasmansilla
Level 1
Level 1
Posts: 10
Joined: Wed Jun 24, 2020 1:21 am

Re: sudo: apt-get: command not found

Post by eliasmansilla »

I did this:

eliasmansilla@noah:~$ sudo dpkg -r apt
(Reading database ... 415533 files and directories currently installed.)
Removing apt:amd64 (1.6.12ubuntu0.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...


and now I just:

eliasmansilla@noah:~$ sudo apt-get update
sudo: apt-get: command not found
eliasmansilla@noah:~$


How do I know which of the apt packages I need? (Kernel: 5.3.0-59-generic i686 bits: 32 compiler: gcc v: 7.5.0 Desktop: Cinnamon 4.4.8 Distro: Linux Mint 19.3 Tricia base: Ubuntu 18.04 LTS Bionic)

I have apt 0.9.7.7 apt_0.9.7.7ubuntu5_i386.deb? apt_0.9.7.7ubuntu4_i386.deb? or apt_0.9.7.5ubuntu5_i386.deb? apt_0.9.7.5ubuntu5.5_i386.deb?
But I don't know what's the difference between the ubuntu4 and ubuntu5 suffix, as I don't use Ubuntu myself, sorry
erginemr

Re: sudo: apt-get: command not found

Post by erginemr »

Kadaitcha Man wrote: Wed Jun 24, 2020 8:18 pm Your system is corrupted, and with corruption there's no telling what else may be damaged. You ought to consider backing up your important files before deciding to restore your system from a backup or deciding if a clean install is warranted.
eliasmansilla,

I thought the problem to be related to your keyboard but other people here gave more insight and I agree with them.

it seens the executable apt-get command is corrupted and there is no telling what other are, too. So you should follow their advice, backup your personal files and do a clear install while formatting the partition on which Linux resides.
eliasmansilla
Level 1
Level 1
Posts: 10
Joined: Wed Jun 24, 2020 1:21 am

Re: sudo: apt-get: command not found

Post by eliasmansilla »

This happened to me when I wanted to install opera-stable_68.0.3618.125_amd64.deb and code_1.46.0-1591780013_amd64.deb, it didn't install, it gave me error and after that apt-get doesn't work anymore.

Sorry but I managed to stop this from appearing anymore::

eliasmansilla@noah:~/Downloads$ sudo apt-get update
/usr/bin/apt-get: 1: /usr/bin/apt-get: �: not found
/usr/bin/apt-get: 1: /usr/bin/apt-get: �@8: not found
/usr/bin/apt-get: 1: /usr/bin/apt-get: ELF: not found
/usr/bin/apt-get: 15: /usr/bin/apt-get: Syntax error: "(" unexpected
eliasmansilla@noah:~/Downloads$

only appears to me nothing else:

eliasmansilla@noah:~$ sudo apt-get update
sudo: apt-get: command not found

thank you run this command:

eliasmansilla@noah:~$ sudo dpkg -r apt
(Reading database ... 415533 files and directories currently installed.)
Removing apt:amd64 (1.6.12ubuntu0.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...


How can I know the apt version that I should install for my linux mint version?
since this apt: amd64 (1.6.12ubuntu0.1) is not (install it with aptitude by mistake)
Thank you
erginemr

Re: sudo: apt-get: command not found

Post by erginemr »

Based also on the feedback of other users, I strongly suggest you to reinstall the system. This might even be related to hard disk problems.

However, if you insist; based on the following information:
Host: noah Kernel: 5.3.0-59-generic i686 bits: 32 compiler: gcc v: 7.5.0
Desktop: Cinnamon 4.4.8 Distro: Linux Mint 19.3 Tricia
you are using Mint v19.3 32-bit and the correct version for your system is:

Code: Select all

https://packages.ubuntu.com/bionic/i386/apt/download
Once downloaded, you can reinstall it by double-clicking on it or via the following command:

Code: Select all

sudo gdebi apt_1.6.12ubuntu0.1_i386.deb
eliasmansilla
Level 1
Level 1
Posts: 10
Joined: Wed Jun 24, 2020 1:21 am

Re: sudo: apt-get: command not found

Post by eliasmansilla »

I already reinstalled it but nothing happened:

eliasmansilla@noah:~/Downloads$ sudo gdebi apt_1.6.12ubuntu0.1_i386.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading state information... Done

commandline package manager
This package provides commandline tools for searching and
managing as well as querying information about packages
as a low-level access to all features of the libapt-pkg library.
.
These include:
* apt-get for retrieval of packages and information about them
from authenticated sources and for installation, upgrade and
removal of packages together with their dependencies
* apt-cache for querying available information about installed
as well as installable packages
* apt-cdrom to use removable media as a source for packages
* apt-config as an interface to the configuration settings
* apt-key as an interface to manage authentication keys
Do you want to install the software package? [y/N]:

eliasmansilla@noah:~/Downloads$ sudo apt-get update
sudo: apt-get: command not found
rene
Level 20
Level 20
Posts: 12212
Joined: Sun Mar 27, 2016 6:58 pm

Re: sudo: apt-get: command not found

Post by rene »

eliasmansilla wrote: Thu Jun 25, 2020 3:56 pm Do you want to install the software package? [y/N]:
I.e., do it again...
erginemr

Re: sudo: apt-get: command not found

Post by erginemr »

For a change, can you also try this:

Code: Select all

apt update
apt is a modern filler for apt-get & apt-cache, with a more concise syntax.
mr_raider
Level 7
Level 7
Posts: 1897
Joined: Sun Jun 20, 2010 9:50 am
Location: Montreal, QC

Re: sudo: apt-get: command not found

Post by mr_raider »

You can also try running aptitude:

sudo aptitude


That will launch an interface from which you can repair broken packages.
Image
eliasmansilla
Level 1
Level 1
Posts: 10
Joined: Wed Jun 24, 2020 1:21 am

Re: sudo: apt-get: command not found

Post by eliasmansilla »

And how do I use it to repair the apt-get command?
eliasmansilla
Level 1
Level 1
Posts: 10
Joined: Wed Jun 24, 2020 1:21 am

Re: sudo: apt-get: command not found

Post by eliasmansilla »

thanks i could solve it!!!


eliasmansilla@noah:~/Downloads$ sudo gdebi apt_1.6.12ubuntu0.1_i386.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading state information... Done

commandline package manager
This package provides commandline tools for searching and
managing as well as querying information about packages
as a low-level access to all features of the libapt-pkg library.
.
These include:
* apt-get for retrieval of packages and information about them
from authenticated sources and for installation, upgrade and
removal of packages together with their dependencies
* apt-cache for querying available information about installed
as well as installable packages
* apt-cdrom to use removable media as a source for packages
* apt-config as an interface to the configuration settings
* apt-key as an interface to manage authentication keys
Do you want to install the software package? [y/N]:y
Selecting previously unselected package apt.
(Reading database ... 415337 files and directories currently installed.)
Preparing to unpack apt_1.6.12ubuntu0.1_i386.deb ...
Unpacking apt (1.6.12ubuntu0.1) ...
Setting up apt (1.6.12ubuntu0.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...


eliasmansilla@noah:~/Downloads$ sudo apt-get update
Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88,7 kB]
Get:2 http://ppa.launchpad.net/ubuntu-desktop ... ake/ubuntu bionic InRelease [15,4 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Get:4 http://archive.canonical.com/ubuntu bionic InRelease [10,2 kB]
Ign:5 http://packages.linuxmint.com tricia InRelease
Get:6 http://packages.linuxmint.com tricia Release [24,2 kB]
Get:7 http://archive.canonical.com/ubuntu bionic/partner Sources [1.908 B]
Get:8 http://ppa.launchpad.net/webupd8team/y- ... ger/ubuntu bionic InRelease [15,4 kB]
Get:9 http://packages.linuxmint.com tricia Release.gpg [819 B]
Get:10 http://security.ubuntu.com/ubuntu bionic-security/universe Sources [171 kB]
Get:11 http://archive.canonical.com/ubuntu bionic/partner amd64 Packages [2.288 B]
Get:12 http://archive.canonical.com/ubuntu bionic/partner i386 Packages [2.288 B]
Get:13 http://archive.canonical.com/ubuntu bionic/partner Translation-en [1.332 B]
Get:14 http://packages.linuxmint.com tricia/backport Sources [58,0 kB]
Get:15 http://security.ubuntu.com/ubuntu bionic-security/multiverse Sources [3.180 B]
Get:16 http://security.ubuntu.com/ubuntu bionic-security/main Sources [155 kB]
Get:17 http://packages.linuxmint.com tricia/upstream Sources [15,1 kB]
Get:18 http://packages.linuxmint.com tricia/main Sources [14,3 kB]
Get:19 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88,7 kB]
Get:20 http://ppa.launchpad.net/ubuntu-desktop ... ake/ubuntu bionic/main Sources [804 B]
Get:21 http://security.ubuntu.com/ubuntu bionic-security/restricted Sources [6.384 B]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages [493 kB]
Get:23 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74,6 kB]
Get:24 http://packages.linuxmint.com tricia/import Sources [3.405 B]
Get:25 http://packages.linuxmint.com tricia/main i386 Packages [14,1 kB]
Get:26 http://packages.linuxmint.com tricia/main amd64 Packages [14,8 kB]
Get:27 http://packages.linuxmint.com tricia/upstream i386 Packages [41,2 kB]
Get:28 http://archive.ubuntu.com/ubuntu bionic/main Sources [829 kB]
Get:29 http://ppa.launchpad.net/ubuntu-desktop ... ake/ubuntu bionic/main amd64 Packages [720 B]
Get:30 http://packages.linuxmint.com tricia/upstream amd64 Packages [41,3 kB]
Get:31 http://packages.linuxmint.com tricia/import amd64 Packages [9.044 B]
Get:32 http://ppa.launchpad.net/ubuntu-desktop ... ake/ubuntu bionic/main i386 Packages [720 B]
Get:33 http://packages.linuxmint.com tricia/import i386 Packages [7.817 B]
Get:34 http://ppa.launchpad.net/ubuntu-desktop ... ake/ubuntu bionic/main Translation-en [508 B]
Get:35 http://ppa.launchpad.net/webupd8team/y- ... ger/ubuntu bionic/main amd64 Packages [800 B]
Get:36 http://packages.linuxmint.com tricia/backport amd64 Packages [79,3 kB]
Get:37 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [761 kB]
Get:38 http://ppa.launchpad.net/webupd8team/y- ... ger/ubuntu bionic/main i386 Packages [800 B]
Get:39 http://archive.ubuntu.com/ubuntu bionic/universe Sources [9.051 kB]
Get:40 http://ppa.launchpad.net/webupd8team/y- ... ger/ubuntu bionic/main Translation-en [524 B]
Get:41 http://packages.linuxmint.com tricia/backport i386 Packages [79,3 kB]
Get:42 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [241 kB]
Get:43 http://security.ubuntu.com/ubuntu bionic-security/main i386 DEP-11 Metadata [46,0 kB]
Get:44 http://security.ubuntu.com/ubuntu bionic-security/restricted i386 Packages [6.412 B]
Get:45 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [62,1 kB]
Get:46 http://security.ubuntu.com/ubuntu bionic-security/restricted Translation-en [14,1 kB]
Get:47 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [674 kB]
Get:48 http://security.ubuntu.com/ubuntu bionic-security/universe i386 Packages [624 kB]
Get:49 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [224 kB]
Get:50 http://security.ubuntu.com/ubuntu bionic-security/universe i386 DEP-11 Metadata [49,2 kB]
Get:51 http://security.ubuntu.com/ubuntu bionic-security/multiverse i386 Packages [3.880 B]
Get:52 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [7.696 B]
Get:53 http://security.ubuntu.com/ubuntu bionic-security/multiverse Translation-en [2.792 B]
Get:54 http://security.ubuntu.com/ubuntu bionic-security/multiverse i386 DEP-11 Metadata [2.464 B]
Get:55 http://archive.ubuntu.com/ubuntu bionic/multiverse Sources [181 kB]
Get:56 http://archive.ubuntu.com/ubuntu bionic/restricted Sources [5.324 B]
Get:57 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1.019 kB]
Get:58 http://archive.ubuntu.com/ubuntu bionic/main i386 Packages [1.007 kB]
Get:59 http://archive.ubuntu.com/ubuntu bionic/main Translation-en [516 kB]
Get:60 http://archive.ubuntu.com/ubuntu bionic/main Translation-en_GB [432 kB]
Get:61 http://archive.ubuntu.com/ubuntu bionic/main i386 DEP-11 Metadata [477 kB]
Get:62 http://archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [9.184 B]
Get:63 http://archive.ubuntu.com/ubuntu bionic/restricted i386 Packages [9.156 B]
Get:64 http://archive.ubuntu.com/ubuntu bionic/restricted Translation-en_GB [2.072 B]
Get:65 http://archive.ubuntu.com/ubuntu bionic/restricted Translation-en [3.584 B]
Get:66 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [8.570 kB]
Get:67 http://archive.ubuntu.com/ubuntu bionic/universe i386 Packages [8.531 kB]
Get:68 http://archive.ubuntu.com/ubuntu bionic/universe Translation-en_GB [4.118 kB]
Get:69 http://archive.ubuntu.com/ubuntu bionic/universe Translation-en [4.941 kB]
Get:70 http://archive.ubuntu.com/ubuntu bionic/universe i386 DEP-11 Metadata [3.283 kB]
Get:71 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [151 kB]
Get:72 http://archive.ubuntu.com/ubuntu bionic/multiverse i386 Packages [144 kB]
Get:73 http://archive.ubuntu.com/ubuntu bionic/multiverse Translation-en [108 kB]
Get:74 http://archive.ubuntu.com/ubuntu bionic/multiverse Translation-en_GB [82,1 kB]
Get:75 http://archive.ubuntu.com/ubuntu bionic/multiverse i386 DEP-11 Metadata [50,6 kB]
Get:76 http://archive.ubuntu.com/ubuntu bionic-updates/main Sources [321 kB]
Get:77 http://archive.ubuntu.com/ubuntu bionic-updates/universe Sources [283 kB]
Get:78 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse Sources [5.840 B]
Get:79 http://archive.ubuntu.com/ubuntu bionic-updates/restricted Sources [8.284 B]
Get:80 http://archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [700 kB]
Get:81 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [982 kB]
Get:82 http://archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [333 kB]
Get:83 http://archive.ubuntu.com/ubuntu bionic-updates/main i386 DEP-11 Metadata [295 kB]
Get:84 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [69,7 kB]
Get:85 http://archive.ubuntu.com/ubuntu bionic-updates/restricted i386 Packages [11,1 kB]
Get:86 http://archive.ubuntu.com/ubuntu bionic-updates/restricted Translation-en [15,8 kB]
Get:87 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1.086 kB]
Get:88 http://archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [1.023 kB]
Get:89 http://archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [337 kB]
Get:90 http://archive.ubuntu.com/ubuntu bionic-updates/universe i386 DEP-11 Metadata [279 kB]
Get:91 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [11,3 kB]
Get:92 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse i386 Packages [7.148 B]
Get:93 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse Translation-en [4.804 B]
Get:94 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse i386 DEP-11 Metadata [2.468 B]
Get:95 http://archive.ubuntu.com/ubuntu bionic-backports/universe Sources [3.452 B]
Get:96 http://archive.ubuntu.com/ubuntu bionic-backports/main Sources [4.136 B]
Get:97 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [7.516 B]
Get:98 http://archive.ubuntu.com/ubuntu bionic-backports/main i386 Packages [7.508 B]
Get:99 http://archive.ubuntu.com/ubuntu bionic-backports/main Translation-en [4.764 B]
Get:100 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [7.484 B]
Get:101 http://archive.ubuntu.com/ubuntu bionic-backports/universe i386 Packages [7.472 B]
Get:102 http://archive.ubuntu.com/ubuntu bionic-backports/universe Translation-en [4.436 B]
Get:103 http://archive.ubuntu.com/ubuntu bionic-backports/universe i386 DEP-11 Metadata [7.968 B]
Fetched 53,8 MB in 2min 49s (318 kB/s)
Reading package lists... Done
eliasmansilla@noah:~/Downloads$
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: sudo: apt-get: command not found

Post by MrEen »

Nicely done eliasmansilla.

Just so you're aware, those other things you tried to install were 64Bit versions that are not compatible with your 32Bit Operating System. Your computer is 64Bit, so I don't know if you made a mistake downloading/installing the wrong ISO of Mint.
eliasmansilla
Level 1
Level 1
Posts: 10
Joined: Wed Jun 24, 2020 1:21 am

Re: sudo: apt-get: command not found

Post by eliasmansilla »

Yes, we made a mistake in the architecture of the packages (32bits / 64bits), but the apt-get was solved ...
thank you very much community!
Locked

Return to “Beginner Questions”