Help with Ubuntu Command Errors

0
5
Asked By CuriousCat42 On

Hey everyone! I just installed Ubuntu on my old laptop and I'm trying to learn how to use the command line with a book I found. I attempted to run the 'cal' command to check the calendar, but it seems like I need to use 'sudo' to do that. However, every time I try, I get an error saying 'unable to fetch archives' and it suggests using apt-get instead, which hasn't resolved the issue either. I'm also seeing permission denied messages. Can anyone help me figure out what's going on?

2 Answers

Answered By TechAdvisor99 On

First off, it would help to know exactly which commands you've been entering and the full output you're getting from them. That way, we can troubleshoot better.

Answered By HelpfulHacker88 On

It sounds like the issue might be related to your book being a bit outdated. The 'cal' command may not be pre-installed anymore, which is why you’re getting prompted to install it. You can try running 'sudo apt install cal' to install the package. If that goes well, everything should work as expected after that.

LostInTech -

I tried 'sudo apt install cal' but it said 'Unable to locate package cal.' Any other suggestions?

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.