Skip to content

u/lumpySnakes

In this archive from Jan 2020 to Feb 2021

0
posts
16
comments
0
media
62
score

If that's what your typical upgrades look like, I imagine it's because of Haskell libraries. Haskell has a really unstable ABI, so it's usually statically linked. Arch uses dynamic linking for Haskell packages though, leading to these frequent, large updates.

If you're just using some Haskell applications (looks like you're using pandoc), I'd recommend switching to a statically linked binary if it's available in the AUR. There's pandoc-bin, for example. If you're doing Haskell development, switch to nix, stack (static build available in the AUR), or ghcup.

8 points

Are you asking if docker will randomly break on Arch, compared to other distros? Absolutely not. I use docker nearly every day for work on Arch.

Of course we can't guarantee that the tools that you yourself write will run correctly. That's up to you to implement them correctly. But if you're asking if there is adequate tooling support for a variety of programming languages on Arch, then yes, top-notch support. It sounds like you might need to investigate how to do this for each language you use in general (like Python virtual environments, as others mentioned above), rather than this being an Arch-specific question.

1 points

You can't use pip to handle all Python packages on your system. Other packages you want to install using pacman will try to pull Python packages as deps, and you'll run into the same problem as above. That would mean you couldn't install any packages with Python deps. This isn't even considering the security implications of installing pip packages globally.

Try the following:

  • If you want to install Python packages for development purposes, use a virtual environment for each project
  • If you want to use packages as an end-user, look first in the repos. There's a good chance it will be there, and pacman can take care of it for you. If use the AUR, you can also check there, with the usual caveats. Failing that...
  • Install using pip with the --user flag. Make sure that ~/.local/bin is in your $PATH.

Just please, whatever you do, don't run pip with elevated privileges

3 points

It sounds like your problem is more with rolling-release than with Arch in particular. Frequent updates with possible bugs comes with the territory, for better or worse depending on your perspective. I don't think holding your packages back is a great idea, since you'll only be accruing manual interventions and making the eventual upgrade more difficult/involved. Instead, I think there are a few things you can do that help improve system stability:

  • Make frequent backups
  • Know how to downgrade packages if an update goes wrong
  • Always check Arch news before upgrading. Seriously, always

I'm sure more knowledgeable Arch users could you more advice regarding this. Also, check out the wiki.

7 points

I have no idea why the proton devs would do this, but their installation guide recommends running sudo pip3 install. You should never do that, it can cause serious dependency issues with system packages installed properly through pacman .

The traceback is saying that it can't find the command which that outputs the full path of commands - is it installed?

At any rate, I'd recommend not installing the tool as recommended by proton. If you're comfortable with the AUR, it has the protonvpn-cli-ng tool. The comments even mention how crazy proton's official instructions are.

1 points

Like /u/aeryxium said, st is a terminal emulator, not a shell. That accounts for the problems you're experiencing.

I'm not sure if I understood correctly, but can you login in from the tty as root? If you can, you could try to change your user's login shell with usermod, as in usermod -s /bin/bash yourusername. You also need to remove st from /etc/shells.

If you can't do that, you can launch single-user mode from the grub menu when you reboot: see here

3 points

A virtual environment essentially replicates the system-wide installation of Python, but it's localized to the directory. The Python interpreter will use the packages it finds in the environment, but not those installed at the system level. Any packages installed to the virtual environment are installed locally and do not affect system-wide packages. The converse is also true, however, as system packages are inaccessible from the virtualenv.

You should really try to avoid using package managers other than pacman. It sounds like you encountered some of the dangers in using system-wide pip installs (same goes for other languages package managers like npm. The best thing is to install Python packages using pacman. Do you use the AUR? If a package isn't in the official repos then there's a very good chance it will be in the AUR.

How are you intending to use virtual environments, though? Sorry if I've misinterpreted your post, but it seems like you want to create them just to install pip packages for general use. That's not a good use case for virtual environments. They're for managing different Python projects and keeping them separate, as they can require different packages and project-specific dependency management. I'd recommend you search for packages first in the official repos, then the AUR. If you find that you really must use pip, you can do pip install --user which will place them in ~/local/bin and ~/local/lib .

5 points

In Linux and other Unix-like systems, you cannot unmount busy devices, meaning that you can't unmount / on a running system (you can try to remount it as read-only, but that's a different scenario). Even if you had made some mistake during installation, which there's no evidence for, this wouldn't allow you to unmount root anyway. I think this has to do more with the graphical file explorer you're using and how it displays mount points.

0 points

As much as I like some of DT's content, that video is sorely outdated now. I believe it predates the changes to base, so following that video will leave you without a kernel.

The only guide you should follow is the wiki. I know it can be helpful to see someone else completing the process, but seriously, just follow the wiki. Use a VM to practice if you don't feel confident.

3 points

I don't think this is Arch specific, and I think that this is usually how smaller keyboards work. To get the number keys to automatically be function keys, you could try toggling the function lock by pressing fn + left ctrl. When it's on, key presses default to the function associated with the key. This applies to all keys though, so / will be the up arrow, etc...

I hope that helps. I have the rk87 and the manual is borderline unreadable. You could always set up your own keymappings using xorg (i.e. setxkbmap) or udev as well.

3 points

I also was following a video not the wiki I was using a script

I would highly recommend following the wiki to install Arch yourself. Using unsupported resources limits other users' ability to help - we have no idea what the script or video contains. This approach will also introduce maintenance nightmares when your system breaks and you don't know the cause or possible solutions

2 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.