Is it that i am missing cretin functions that Debian had, this is just Ubuntu on a 64 bit Intel processor when running any apt
scrip like an sudo apt-get install
$ sudo apt-get install python-setuptools python-virtualenv python-dev
E: Malformed line 2 in source list /etc/apt/sources.list.d/100-ubnt-unifi.list (type)
E: The list of sources could not be read.
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
I had this same problem with my ARM processor and the dpkg files but it was different. what going on because because i am not sure if it just missing something about the Debian interface or maybe some bash scripting but i would like to know .
i saw that the fix isnt hard but last time i did a fix from what i saw cold be done i lost the ability to go on youtube. but that just might be the internet i have that allows me to surch for the answer. i cant really connect to the wifi, i need an inscription key. it on the wifi box but i not sure where it is located in the house and i am not quite sure if i need it. im leaving soon, nut im just looking for a apt-get fix for any other insulation of any 64 bit programs to run like virtual box.
--update--
i already did something to where the text editor doesnt come up the same but you are supposed to put these command first.
sudo cp /etc/apt/source.list /etc/apt/source.list.old
sudo cat -n /etc/apt/source.list | grep 2
sudo gedit /etc/apt/source.list
on the second command right where it says "grep 2" you are supposed to put the number of lines you have that are malformed into the command. and i believe you are supposed to put a number sine where the link starts in the test editor followed but a space and then hit save. on your terminal it should say something like this..
$ sudo gedit /etc/apt/source.list
** (gedit:3452): WARNING **: 21:16:30.900: Set document metadata failed: Setting attribute metadata::gedit-position not supported
once it does that exit out of text editor and start a new terminal and start a apt-update && upgrade to see if you can source code an update. but beacuse i fail to put in the right code at the right time i was wondering if i could just copy and past what it should look like in the text editor and save after i put in a
$ sudo gedit /etc/apt/source.list
after the command or maybe i should just uninstall and reinstall the OS to see if i can fix my issue.
$ sudo cp /etc/apt/source.list /etc/apt/source.list.old cp: cannot stat '/etc/apt/source.list': No such file or directory
$ sudo cat -n /etc/apt/source.list | grep 2 cat: /etc/apt/source.list: No such file or directory
$ sudo gedit /etc/apt/source.list
sudo
rights has made the error; that directory is empty on new installs, so it's been added by a user withsudo
rights. Correct the error. You've also listed other errors, for other causes. If the system is upgrading at the same time you enter a command to, the lock file prevents damage by only allowing one update at a time to occur. It can also be user-error, ie. an update in one window waiting a response, the user forgets, and then starts another update (which ends up waiting until first is answered & completed). Check – guiverc Nov 27 '20 at 03:59sudo nano /etc/apt/source.list
instead ofsudo gedit /etc/apt/source.list
This will remove the** (gedit:3452): WARNING **: 21:16:30.900: Set document metadata failed: Setting attribute metadata::gedit-position not supported
error. – karel Nov 30 '20 at 06:12source.list
doesn't exist by default. Did you meansources.list
? Anyway you have errors in/etc/apt/sources.list.d/100-ubnt-unifi.list
. Why are you editingsources.list
? – Kulfy Nov 30 '20 at 06:43