The system does not recognize apt commands ..

Asked by Tomi Juntunen

 First operating system is Ubuntu 18.04 lts. The system does not recognize apt commands .. For example i paste here some terminal commands:
:~$ sudo apt install build-essential
sudo: apt: komentoa ei löytynyt(command not found)
~$ sudo apt-get update
sudo: apt-get: komentoa ei löytynyt( this goes on and on, all apt commands are lost??).

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Bashing-om (bashing-om) said :
#1

Tomi Juntunen; Hello -

Not having "apt" available is strange indeed.

What shows:
dpkg -l apt
ls -al /etc/apt

-and a hunting we will go-

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

For diagnostic purposes please also provide the output that you receive for the commands

uname -a
lsb_release -crid
dpkg --version
dpkg -l | grep apt

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.