You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: source/_posts/2010-07-09-debian-ftp-archive-for-etch-archive-debian-org.markdown
+4-2
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,8 @@ tags:
17
17
18
18
And indeed running apt update was giving a **404 error**, as the etch files are no longer in the main ftp archive (on ftp.debian.org):
19
19
20
-
`apt-get update
20
+
```
21
+
apt-get update
21
22
Ign http://ftp.debian.org etch Release.gpg
22
23
Ign http://ftp.debian.org etch Release
23
24
Ign http://ftp.debian.org etch/main Packages
@@ -34,7 +35,8 @@ Reading package lists... Done
34
35
W: Couldn't stat source package list http://ftp.debian.org etch/main Packages (/var/lib/apt/lists/ftp.debian.org_debian_dists_etch_main_binary-i386_Packages) - stat (2 No such file or directory)
35
36
W: Couldn't stat source package list http://ftp.debian.org etch/non-free Packages (/var/lib/apt/lists/ftp.debian.org_debian_dists_etch_non-free_binary-i386_Packages) - stat (2 No such file or directory)
36
37
W: Couldn't stat source package list http://ftp.debian.org etch/contrib Packages (/var/lib/apt/lists/ftp.debian.org_debian_dists_etch_contrib_binary-i386_Packages) - stat (2 No such file or directory)
37
-
W: You may want to run apt-get update to correct these problems`
38
+
W: You may want to run apt-get update to correct these problems
39
+
```
38
40
39
41
and the apt sources line causing this error was (from **/etc/apt/sources.list**):
40
42
`deb http://ftp.debian.org/debian/ etch main non-free contrib`
Copy file name to clipboardexpand all lines: source/_posts/2010-07-09-howto-remove-a-list-of-files.markdown
+3-3
Original file line number
Diff line number
Diff line change
@@ -18,10 +18,10 @@ tags:
18
18
---
19
19
20
20
Here is a quick tip on how to remove a list of files. Let's say you have the list of files inside a file called **files_to_remove**. Usually I would do something like this:
21
-
`LIST=`cat files_to_remove``
21
+
LIST=\`cat files_to_remove\`
22
22
and then
23
-
`ls -al $LIST`
23
+
ls -al $LIST
24
24
just to check what is in the list and if it looks good.
Copy file name to clipboardexpand all lines: source/_posts/2010-10-14-delete-duplicate-packages-in-centos.markdown
+2-2
Original file line number
Diff line number
Diff line change
@@ -16,10 +16,10 @@ tags:
16
16
---
17
17
18
18
I got a package dependency issue when updating our 64-bit CentOS server, which was caused by two perl packages installed (i386 and x86_64).
19
-
`
19
+
```
20
20
perl i386 4:5.8.8-32.el5_5.1 installed 28 M
21
21
perl x86_64 4:5.8.8-32.el5_5.1 installed 34 M
22
-
`
22
+
```
23
23
I tried to remove it using rpm command but didn't work (maybe i just don't know the correct params with rpm). My solution to remove package was using yum "_remove package_name.architecture_". Ex: `yum remove perl.i386`
24
24
25
25
Any other shortcuts in deleting duplicate packages?
Copy file name to clipboardexpand all lines: source/_posts/2010-10-15-upload-or-download-multiple-files-resursive-using-command-line-ftp.markdown
+4-4
Original file line number
Diff line number
Diff line change
@@ -16,10 +16,10 @@ tags:
16
16
17
17
Problem is I can't upload directory including sub-directories and files using command-line ftp. I searched for similar problem and looks like you can't do this using command line ftp, unless you create a script. One solution I found is the use of "[lftp](http://lftp.yar.ru/)".
0 commit comments