« first day (1072 days earlier)      last day (80 days later) » 

2:04 PM
Hello, can you help me with sudo vi ?
I am Ubuntu newbie
I am trying to do sudo vi /etc/resolvconf/resolv.conf.d/base
```
```
E325: ATTENTION
Found a swap file by the name "/var/tmp/base.swp"
owned by: root dated: Ned Aug 02 14:26:40 2020
file name: /etc/resolvconf/resolv.conf.d/base
modified: YES
user name: root host name: mile
process ID: 23505
While opening file "/etc/resolvconf/resolv.conf.d/base"
CANNOT BE FOUND
(1) Another program may be editing the same file. If this is the case,
be careful not to end up with two different instances of the same
file when making changes. Quit, or continue with caution.
 
@MileMijatović Post a question in the main site, perhaps? Anyway, it's not the right place, this chatroom is for moderation purposes (e.g. closing, re-opening, deleting etc.) only.
 
 
4 hours later…
5:50 PM
@MileMijatović did you try following the instructions? If you are not sure what to do, then I suggest quitting and retrying, and if the same thing appears, choosing the option to recover. Check the current contents of the actual file, and the swap file mentioned. If everything is OK, delete the swap file and try again. This happens to me fairly often, so I am assuming it's a similar situation and what I normally do will work for you, but it may be that something else is wrong...
By the way code fences don't work in chat, but you can get code formatting for multiline text by clicking the "fixed font" button that appears on the right side of the input text box (for mobile chat, I don't know how to do it myself)
 

« first day (1072 days earlier)      last day (80 days later) »