我遇到了这个问题:元数据文件在执行时与校验和不匹配 - yum update
我已按照此链接的每一步但但失败了:
我甚至尝试了以下
这些似乎都不起作用。
我在更新时遇到以下错误
Sub Insertpicture()
Dim myPict As Picture
Dim curWks As Worksheet
Dim myRng As Range
Dim myCell As Range
Set curWks = Sheets(1)
curWks.Pictures.Delete
With curWks
Set myRng = .Range("c2", .Cells(.Rows.Count, "c").End(xlUp))
End With
For Each myCell In myRng.Cells
If Trim(myCell.Value) = "" Then
‘do nothing, move on
ElseIf Len(Dir(myCell.Value)) = 0 Then
’here I want to leave the cell empty and just move on to check next cell
Else
With myCell.Offset(0, 3)
Set myPict = myCell.Parent.Pictures.Insert(myCell.Value)
myPict.Top = .Top
myPict.Width = .Width
myPict.Height = .Height
myPict.Left = .Left
myPict.Placement = xlMoveAndSize
End With
End If
Next myCell
End Sub
答案 0 :(得分:1)
使其正常工作的解决方法是清理您的yum缓存。
# yum clean all