1
1
echo === git and git lfs ===
2
2
3
- sudo apt-get --yes --force-yes update
3
+ sudo apt-get --yes --allow-downgrades update
4
4
5
- sudo apt --yes --force-yes install git
5
+ sudo apt --yes --allow-downgrades install git
6
6
7
7
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
8
- sudo apt-get --yes --force-yes install git-lfs
8
+ sudo apt-get --yes --allow-downgrades install git-lfs
9
9
git lfs install
10
10
11
11
echo === yarn ===
12
- sudo apt --yes --force-yes install curl
12
+ sudo apt --yes --allow-downgrades install curl
13
13
14
14
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
15
15
16
16
echo " deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
17
17
18
- sudo apt --yes --force-yes update
18
+ sudo apt --yes --allow-downgrades update
19
19
20
- sudo apt --yes --force-yes install yarn
20
+ sudo apt --yes --allow-downgrades install yarn
21
21
22
22
yarn --version
23
23
24
24
echo === net-tools for ifconfig ===
25
- sudo apt --yes --force-yes install net-tools
25
+ sudo apt --yes --allow-downgrades install net-tools
26
26
27
27
echo === vsftpd for ftp server ===
28
- sudo apt --yes --force-yes install vsftpd
28
+ sudo apt --yes --allow-downgrades install vsftpd
29
29
30
- sudo apt-get --yes --force-yes install filezilla
30
+ sudo apt-get --yes --allow-downgrades install filezilla
31
31
32
32
sudo cp ./config/ftp/vsftpd.conf /etc/vsftpd.conf
33
33
sudo cp ./config/ftp/vsftpd.chroot_list /etc/vsftpd.chroot_list
@@ -37,8 +37,8 @@ sudo systemctl restart vsftpd
37
37
mkdir ~ /public_ftp
38
38
39
39
echo === dot ===
40
- sudo apt --yes --force-yes install graphviz
40
+ sudo apt --yes --allow-downgrades install graphviz
41
41
42
42
echo === npm ===
43
- sudo apt --yes --force-yes install npm
43
+ sudo apt --yes --allow-downgrades install npm
44
44
0 commit comments